Re: PangoFontDescription to PangoFont



Hi

AFAIK all PangoFonts depend on a PangoContext, which includes infomation
about the rendering backend (different fonts need different backends like
Xft, Freetype, ...). So you will need a PangoContext anyway and can use
pango_context_load_font(), if you really need a font object.

Pango tries hard to find similar fonts for different backends, so just use
PangoFontDescription.

Do you really need to use a PangoFont?

Jan-Marek



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