[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: fail on osx between 2/4/2009 and 2/5/2009
From: |
YAMAMOTO Mitsuharu |
Subject: |
Re: fail on osx between 2/4/2009 and 2/5/2009 |
Date: |
Mon, 16 Feb 2009 09:33:06 +0900 |
User-agent: |
Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (Shijō) APEL/10.6 Emacs/22.3 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) |
>>>>> On Thu, 12 Feb 2009 20:42:42 +0200, Adrian Robert <address@hidden> said:
> When I first implemented the Cocoa font back-end, the list and match
> APIs were mainly based around the font-entity structure, which
> contained the following information:
> foundry, family, adstyle, registry, weight, slant, width, size, dpi,
> spacing, avgwidth
Both the list and match are designed to take a font spec and returns
either font entities or a font entity. So the knowledge of font specs
as well as font entities were necessary to implement them properly in
the first place.
> Display of characters in multiple scripts was handled by the existing
> emacs "fontset" structure. The "kludge" Yamamoto Mitsuharu refers to
> was designed to allow this mechanism to work under NS without the
> user or distributor needing to manually define a font set. It works
> reasonably well, judging by the HELLO screen. Of course, users /
> distributors always had the option to fall back to manual fontset
> definitions to get better results as in other emacsen.
Also, the existence of script-representative-chars you used in the
kludge implies there were already some mechanisms such as the :script
property in the font specs for selecting appropriate fonts without
needing manual definition of fontsets. You could have noticed that if
you read the implementations of other font backend drivers.
In general, you should consider/propose platform-independent ways of
solving problems/adding features rather than doing that by adding
platform-specific kludges, unless they are inherently
platform-specific matters. Such kludges might be acceptable for
unofficial distributions, but not for the official Emacs distribution,
I think.
YAMAMOTO Mitsuharu
address@hidden
- Re: fail on osx between 2/4/2009 and 2/5/2009, (continued)
- Re: fail on osx between 2/4/2009 and 2/5/2009, Kenichi Handa, 2009/02/15
- Re: fail on osx between 2/4/2009 and 2/5/2009, Kenichi Handa, 2009/02/15
- Re: fail on osx between 2/4/2009 and 2/5/2009, Adrian Robert, 2009/02/17
- Re: fail on osx between 2/4/2009 and 2/5/2009, Kenichi Handa, 2009/02/17
- Re: fail on osx between 2/4/2009 and 2/5/2009, Kenichi Handa, 2009/02/17
- Re: fail on osx between 2/4/2009 and 2/5/2009, YAMAMOTO Mitsuharu, 2009/02/17
- Re: fail on osx between 2/4/2009 and 2/5/2009, Kenichi Handa, 2009/02/17
- Re: fail on osx between 2/4/2009 and 2/5/2009, YAMAMOTO Mitsuharu, 2009/02/18
- Re: fail on osx between 2/4/2009 and 2/5/2009, Adrian Robert, 2009/02/19
- Re: fail on osx between 2/4/2009 and 2/5/2009, Kenichi Handa, 2009/02/23
- Re: fail on osx between 2/4/2009 and 2/5/2009,
YAMAMOTO Mitsuharu <=
- Re: fail on osx between 2/4/2009 and 2/5/2009, Adrian Robert, 2009/02/17
- Re: fail on osx between 2/4/2009 and 2/5/2009, YAMAMOTO Mitsuharu, 2009/02/17
- Re: fail on osx between 2/4/2009 and 2/5/2009, Adrian Robert, 2009/02/19
- Re: fail on osx between 2/4/2009 and 2/5/2009, YAMAMOTO Mitsuharu, 2009/02/19
- Re: fail on osx between 2/4/2009 and 2/5/2009, YAMAMOTO Mitsuharu, 2009/02/10
- Re: fail on osx between 2/4/2009 and 2/5/2009, William Xu, 2009/02/10
- Re: fail on osx between 2/4/2009 and 2/5/2009, Will Farrington, 2009/02/10
Re: fail on osx between 2/4/2009 and 2/5/2009, William Xu, 2009/02/09