[Fontconfig] Discovering the font file from the font name
Keith Packard
keithp at keithp.com
Thu Dec 18 08:03:08 EST 2003
Around 18 o'clock on Dec 17, Adriano Del Vigna de Almeida wrote:
> I need to discover the font file from the font name. For example, I want
> to remove the font named 'BitStream Vera Sans'. I need to pass to my
> application this name, and then discover that this font name is
> associated with '/usr/share/fonts/bitstream-vera/vera.ttf', for example.
That's all fontconfig does; check out the fontconfig documentation or look
at some of thecode in Pango, Mozilla or Xft to see how it's all put
together.
-keith
More information about the Fontconfig
mailing list