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: Stefan Monnier
Subject: Re: Fixed-pitch and variable-pitch faces
Date: Mon, 09 Jun 2008 21:06:21 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

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

> At least, the current Emacs can know that a font of a
> specific family doesn't exist.  In addition, it seems that
> fontconfig doesn't provide an API for modifing the priority
> of font properties.

I think that Emacs would benefit from using more of other
people's code.  So if you use fontconfig's code as-is, maybe we won't
get the same flexibility as we currently enjoy (or from which we
suffer, as the case may be), but since AFAIK all other apps use
FcFontMatch, we can always say "report this bug or feature request to
the fontconfig people".  That will save us time.

After all, if fontconfig doesn't provide a specific feature, it's
probably because it's not an important one.

Hopefully, other sindowing systems offer similar functions to
FcFontMatch, so we might be able to throw away the whole
font-choice code.
Throwing away code is always the best part of programming.


        Stefan "Who's already having nightmares of «FcFontConfig can't
                find my beloved misc-fixed-semicondensed-13»"




reply via email to

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