Discovering the font file from the font name

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux