From: James Cloos <cloos@jhcloos.com>
Cc: id.brep@gmail.com, emacs-devel@gnu.org
Subject: Re: unicode font-backend + tiling
Date: Wed, 13 Dec 2006 14:24:25 -0500 [thread overview]
Message-ID: <m3vekfk39b.fsf@lugabout.jhcloos.org> (raw)
In-Reply-To: <E1GuOxZ-0002ch-Af@etlken.m17n.org> (Kenichi Handa's message of "Wed\, 13 Dec 2006 16\:55\:25 +0900")
>>>>> "Kenichi" == Kenichi Handa <handa@m17n.org> 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 <cloos@jhcloos.com> OpenPGP: 1024D/ED7DAEA6
next prev parent reply other threads:[~2006-12-13 19:24 UTC|newest]
Thread overview: 39+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-05 0:40 unicode font-backend + tiling Miles Bader
2006-12-05 1:28 ` Leo
2006-12-05 2:18 ` Miles Bader
2006-12-05 2:52 ` Leo
2006-12-05 3:07 ` Miles Bader
2006-12-05 10:03 ` Juanma Barranquero
2006-12-05 10:25 ` Miles Bader
2006-12-05 11:11 ` Kenichi Handa
2006-12-05 4:30 ` Kenichi Handa
2006-12-05 4:42 ` Miles Bader
2006-12-05 5:16 ` Kenichi Handa
2006-12-05 5:40 ` Leo
2006-12-05 6:07 ` Miles Bader
2006-12-06 12:21 ` Mikhail Gusarov
2006-12-05 6:19 ` Jan Djärv
2006-12-05 6:37 ` Miles Bader
2006-12-05 10:55 ` Miles Bader
2006-12-05 11:19 ` Kenichi Handa
2006-12-05 11:31 ` Miles Bader
2006-12-05 12:18 ` Kenichi Handa
2006-12-06 4:24 ` Miles Bader
2006-12-06 12:12 ` Kenichi Handa
2006-12-05 14:48 ` Stefan Monnier
2006-12-05 4:43 ` Zhang Wei
2006-12-05 5:45 ` Mikhail Gusarov
2006-12-06 12:01 ` Kenichi Handa
2006-12-06 12:44 ` Leo
2006-12-06 12:51 ` Kenichi Handa
2006-12-06 13:32 ` Leo
2006-12-06 19:57 ` Romain Francoise
2006-12-07 0:47 ` bug of char-displayable-p [Re: unicode font-backend + tiling] Kenichi Handa
2006-12-07 4:29 ` unicode font-backend + tiling Zhang Wei
2006-12-07 9:06 ` Miles Bader
2006-12-07 11:06 ` Kenichi Handa
2006-12-07 12:58 ` James Cloos
2006-12-13 7:55 ` Kenichi Handa
2006-12-13 19:24 ` James Cloos [this message]
2006-12-07 13:58 ` Zhang Wei
2006-12-05 6:14 ` Jan Djärv
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m3vekfk39b.fsf@lugabout.jhcloos.org \
--to=cloos@jhcloos.com \
--cc=emacs-devel@gnu.org \
--cc=id.brep@gmail.com \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.