How can I just tell pango where to look for fonts?



How can I just tell pango where to look for fonts?

To fix:

(grafit:31327): Pango-WARNING **: failed to choose a font, expect ugly
output. engine-type='PangoRenderFc', script='latin'

(grafit:31327): Pango-WARNING **: failed to choose a font, expect ugly
output. engine-type='PangoRenderFc', script='common'

(grafit:31327): Pango-CRITICAL **: _pango_cairo_font_map_get_renderer:
assertion `PANGO_IS_CAIRO_FONT_MAP (fontmap)' failed


pango-querymodules gives:
# Pango Modules file
# Automatically generated file, do not edit
#
# ModulesPath = /usr/local/lib/pango/1.6.0/modules
#
/usr/local/lib/pango/1.6.0/modules/pango-arabic-lang.so
ArabicScriptEngineLang PangoEngineLang PangoRenderNone arabic:*
/usr/local/lib/pango/1.6.0/modules/pango-basic-x.so BasicScriptEngineX
PangoEngineShape PangoRenderX common:
/usr/local/lib/pango/1.6.0/modules/pango-indic-lang.so
devaIndicScriptEngineLang PangoEngineLang PangoRenderNone devanagari:*
/usr/local/lib/pango/1.6.0/modules/pango-indic-lang.so
bengIndicScriptEngineLang PangoEngineLang PangoRenderNone bengali:*
/usr/local/lib/pango/1.6.0/modules/pango-indic-lang.so
guruIndicScriptEngineLang PangoEngineLang PangoRenderNone gurmukhi:*
/usr/local/lib/pango/1.6.0/modules/pango-indic-lang.so
gujrIndicScriptEngineLang PangoEngineLang PangoRenderNone gujarati:*
....

....to remove the boxes in place of text.

Thanks,
Jorge.


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