[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: unicode font-backend + tiling
From: |
James Cloos |
Subject: |
Re: unicode font-backend + tiling |
Date: |
Wed, 13 Dec 2006 14:24:25 -0500 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/23.0.0 (gnu/linux) |
>>>>> "Kenichi" == Kenichi Handa <address@hidden> writes:
Kenichi> Thank you for the explanation. But, I still don't
Kenichi> understand when to use FcMatchPattern and when to use
Kenichi> FcMatchFont in a program.
Good point. I did fail to address that.
FcMatchPattern should be used first to determine exactly which font
should be used, given the user's requested font pattern.
Then, FcMatchFont should be used to determine the details on how to
render that font.
Eg, substitutions like Arial or NimbusSanL for Helvetica, some font or
other for Serif, Sans or Mono, etc are all done during the Pattern step.
Things like controling hinting, rgba, aa, embedded bitmaps, etc are
then done during the FcMatchFont step.
So you need to call the function twice. First with FcMatchPattern to
get the font, and then with FcMatchFont to get the rendering details
to pass on to FreeType and Xft.
There is some discussion at:
http://fontconfig.org/fontconfig-user.html#AEN25
-JimC
--
James Cloos <address@hidden> OpenPGP: 1024D/ED7DAEA6
- Re: unicode font-backend + tiling, (continued)
- Re: unicode font-backend + tiling, Romain Francoise, 2006/12/06
- bug of char-displayable-p [Re: unicode font-backend + tiling], Kenichi Handa, 2006/12/06
- Re: unicode font-backend + tiling, Zhang Wei, 2006/12/06
- Re: unicode font-backend + tiling, Miles Bader, 2006/12/07
- Re: unicode font-backend + tiling, Kenichi Handa, 2006/12/07
- Re: unicode font-backend + tiling, James Cloos, 2006/12/07
- Re: unicode font-backend + tiling, Kenichi Handa, 2006/12/13
- Re: unicode font-backend + tiling,
James Cloos <=
- Re: unicode font-backend + tiling, Zhang Wei, 2006/12/07
Re: unicode font-backend + tiling, Jan Djärv, 2006/12/05