[Fontconfig] Getting FC_FILE Using Fontconfig

Behdad Esfahbod behdad at behdad.org
Fri Mar 4 13:59:58 PST 2011


On 03/03/11 15:09, Jeremy Moles wrote:
> Without a pango_fc_font_description_to_pattern() function, I'd like to
> go the route (temporarily) of copying this code from Pango. Can you give
> me any hints as to whereabouts this process is performed?

grep for pango_fc_make_pattern().


> You mentioned also a kind of "hackish" way of getting the information
> out of Pango (loading the font into the PangoFontMap in the context
> isn't a problem), but I wasn't able to piece together the series of
> calls in order to achieve this... (we can use whatever version of Pango
> is necessary)

I checked in and what I had in mind wouldn't work.

behdad


More information about the Fontconfig mailing list