|
From: | Jason Rumney |
Subject: | Re: NS font case sensitivity |
Date: | Fri, 19 Jun 2009 13:24:26 +0800 |
User-agent: | Thunderbird 2.0.0.21 (Windows/20090302) |
Adrian Robert wrote:
Jason Rumney <jasonr <at> gnu.org> writes:Is there a good reason why the entries in face-alternative-font-family-alist need to be case sensitiveon NS when they are not on other platforms?Font family matching is case sensitive in the API used by the NS font driver.
I'm not sure that is relevant here. This variable (actually it is exposed to lisp as face-font-family-alternatives) is only used when it has already been determined that the named font does not exist in the system, so for example on other platforms if some lisp code requests the font "Sans Serif" or "sans serif" and a font by that name is not defined, "helv", "helvetica", "arial" and "fixed" are tried as alternatives. But on NS, that list will only be used if the lisp code requests that font with matching case.
[Prev in Thread] | Current Thread | [Next in Thread] |