emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fixed-pitch and variable-pitch faces


From: Miles Bader
Subject: Re: Fixed-pitch and variable-pitch faces
Date: Mon, 09 Jun 2008 14:17:04 +0900

Chong Yidong <address@hidden> writes:
>> As far as I know, fontconfig's API FcFontMatch is very
>> difficult to use here.  It always returns a font that
>> fontconfig thinks best matching with the given pattern.  If
>> the family name of the returned font is different from the
>> requested one, there's no way to know whether the requested
>> family name is remapped (or selected as an alias) by some
>> config file or not.
>>
>> So, Emacs currently uses FcFontList only (except for such
>> generic families; monospace, sans-serit, serif).
>
> I see.
>
> What if Emacs always uses FcFontMatch if it's compiled with fontconfig
> support?  IIUC, this means that fonts using the x font backend are never
> selected, since fontconfig will always try to find a match.  But this
> may be acceptable in practice.

Is there a reason to think that Emacs does a better job than fontconfig
at finding a match?

The current (apparent) unpredictability of Emacs' font-selection can be
quite maddening...

-Miles

-- 
Success, n. The one unpardonable sin against one's fellows.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]