Re: Pango-WARNING failed to choose a font
- From: Sid Kapoor <sidkapoor2000 gmail com>
- To: Behdad Esfahbod <behdad behdad org>
- Cc: gtk-i18n-list gnome org
- Subject: Re: Pango-WARNING failed to choose a font
- Date: Sat, 9 Oct 2010 14:35:54 +0530
Hi William,
Did you set the environment properly ?
Try some steps as mentioned below:
1) export PANGO_RC_FILE=/lib/pango/pangorc
2) Give the path of your pango.modules file in pangorc
3) Check your pango.modules file. Is your pango module path properly mentioned in the pango.modules file ?
4) If not then generate a fresh pango.modules file by running a binary pango-querymodules.
5) Also check your pangox.aliases file. Is your new font mentioned in that file ?
Thanks,
Siddharth Kapoor
On Tue, Sep 21, 2010 at 11:24 PM, Behdad Esfahbod
<behdad behdad org> wrote:
Try strace'ing to see what files pango is trying to access and go from there.
There's not much else I can suggest.
behdad
On 09/21/10 13:53, William Mok wrote:
> If you know the part of the code that I should investigate, then I can
> see if I can do some debugging.
>
> Which file or which functions should I pay attention? Thanks.
>
> --- On *Tue, 9/21/10, Behdad Esfahbod /<
behdad behdad org>/* wrote:
>
>
> From: Behdad Esfahbod <
behdad behdad org>
> Subject: Re: Pango-WARNING failed to choose a font
> To: "William Mok" <
wmok6600 yahoo com>
> Cc:
gtk-i18n-list gnome org
> Date: Tuesday, September 21, 2010, 10:48 AM
>
> On 09/21/10 13:45, William Mok wrote:
> > Thanks.
> >
> > fc-match returns
> > Vera.ttf: "Bitstream Vera Sans" "Roman"
> >
> > Apparently pango does not like this,
> >
> > (gtk-demo:3274): Pango-WARNING **: failed to choose a font, expect
> ugly
> > output. engine-type='PangoRenderFc', script='latin'
> >
> > (gtk-demo:3274): Pango-WARNING **: failed to choose a font, expect
> ugly
> > output. engine-type='PangoRenderFc', script='common'
> >
> > **** so, how do I get fc-match to return something else? Or what
> kind of
> > font I need to install?
>
> Donno. Something wrong with your pango installation.
>
> behdad
>
>
_______________________________________________
gtk-i18n-list mailing list
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]