What metric does fontconfig use to select a font
- To: fontconfig@xxxxxxxxxxxxxxxxxxxxx
- Subject: What metric does fontconfig use to select a font
- From: Cyker Way <cykerway@xxxxxxxxx>
- Date: Sun, 4 Sep 2011 16:16:23 +0800
- Delivered-to: fontconfig@xxxxxxxxxxxxxxxxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; bh=h4myfK7dr35i290zFLNB+m20AMqrdC2yOaT7Os6QmG0=; b=KkxNe9NVrQxDYLE6qXTGvG5KSK80Q78imMuken1KcYZ5lhBPA+hXYfpjaBr5XEKuK5 SGEud7jydIvwfqfCGUeR2pqOvkByV2bbWhP0tx1EnUCnPcMe6Dkx+eJ5RqzrCjdBtbQy opvNx3LC9I6yS0f7P5ciCyVYcJ2OCP54hxUBo=
I just got messed up with so many <prefer>s and <accept>s. And it seems the first font in the list after all <prefer>/<accept>/<default> have been applied needn't have to be the finally selected one. If the order in the list doesn't count, why make that list?
And how does the strong/weak binding affects the selection?
What's the logic of this font-choosing algorithm?
And what should I do to make sure one specific font will certainly be chosen when executing, say, 'fc-match sans'?
I've read the man page but still didn't quite understand it. Thanks.
--
![]()
Cyker Way
E-mail: cykerway@xxxxxxxxx
http://www.cykerway.com
_______________________________________________
Fontconfig mailing list
Fontconfig@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/fontconfig
[Fedora Users]
[Fedora Cloud]
[Kernel]
[Fedora Legacy]
[Fedora Packaging]
[Fedora Desktop]
[PAM]
[Red Hat Development]
[Red Hat 9]
[Gimp]
[Yosemite News]