From: Miles Bader <miles.bader@necel.com>
To: Chong Yidong <cyd@stupidchicken.com>
Cc: emacs-devel@gnu.org, monnier@iro.umontreal.ca, cloos@jhcloos.com,
Kenichi Handa <handa@m17n.org>
Subject: Re: Fixed-pitch and variable-pitch faces
Date: Mon, 09 Jun 2008 14:17:04 +0900 [thread overview]
Message-ID: <buotzg32nn3.fsf@dhapc248.dev.necel.com> (raw)
In-Reply-To: <87bq2bus9a.fsf@stupidchicken.com> (Chong Yidong's message of "Mon, 09 Jun 2008 00:49:53 -0400")
Chong Yidong <cyd@stupidchicken.com> 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.
next prev parent reply other threads:[~2008-06-09 5:17 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-07 16:23 Fixed-pitch and variable-pitch faces Chong Yidong
2008-06-07 16:28 ` Chong Yidong
2008-06-07 18:56 ` Stefan Monnier
2008-06-07 20:33 ` David Hansen
2008-06-07 21:34 ` James Cloos
2008-06-08 11:29 ` Kenichi Handa
2008-06-09 1:29 ` Chong Yidong
2008-06-09 2:59 ` Kenichi Handa
2008-06-09 4:49 ` Chong Yidong
2008-06-09 5:17 ` Miles Bader [this message]
2008-06-09 5:34 ` Kenichi Handa
2008-06-09 6:14 ` Miles Bader
2008-06-09 6:20 ` Miles Bader
2008-06-09 7:20 ` Kenichi Handa
2008-06-09 7:56 ` Miles Bader
2008-06-09 11:06 ` Kenichi Handa
2008-06-09 11:38 ` Miles Bader
2008-06-09 12:06 ` Kenichi Handa
2008-06-09 12:09 ` Miles Bader
2008-06-09 11:26 ` Kenichi Handa
2008-06-09 6:35 ` Kenichi Handa
2008-06-09 6:41 ` Miles Bader
2008-06-09 13:40 ` Chong Yidong
2008-06-10 1:06 ` Stefan Monnier
2008-06-10 1:44 ` David De La Harpe Golden
2008-06-10 8:01 ` James Cloos
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=buotzg32nn3.fsf@dhapc248.dev.necel.com \
--to=miles.bader@necel.com \
--cc=cloos@jhcloos.com \
--cc=cyd@stupidchicken.com \
--cc=emacs-devel@gnu.org \
--cc=handa@m17n.org \
--cc=miles@gnu.org \
--cc=monnier@iro.umontreal.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).