[Fontconfig] Select by name + properties (italic/width)?
mathog
mathog at caltech.edu
Wed Oct 10 08:29:39 PDT 2012
Sorry if this is obvious, but the fontconfig documentation is a bit
light on examples.
Given aset {Name, italic_yesno, bold_yesno, weight, size}, how does one
select the correct font?
One can find a font with a name like "arial" or "arial bold" using
FcNameParse(), so by converting
italic/bold to text and mixing it in with the name FcNameParse() can do
it. But is there another method?
And what about weight and size, do those have to wait until FreeType to
be employed?
Thanks,
David Mathog
mathog at caltech.edu
Manager, Sequence Analysis Facility, Biology Division, Caltech
More information about the Fontconfig
mailing list