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



Your build is incomplete.  You are missing the BasicScriptEngineFc in your
modules and that's why you get boxes.

On 03/05/2010 09:55 AM, Jorge Simão wrote:
> 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.
> _______________________________________________
> gtk-i18n-list mailing list
> gtk-i18n-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-i18n-list
> 


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