Re: Pango-WARNING failed to choose a font

On 09/21/10 13:19, William Mok wrote:

> I built a debug version of Pango, GTK+ and tried to set a breakpoint at
> the function "pango_x_font_map_read_aliases" in pangox-fontmap.c.
> However, when I start the application such as "gtk-demo", the breakpoint
> never got hit. Does that mean pango is ignoring the pangox.aliases file?


> *****The thing is that I don't know how pango works, where pango will
> search for the fonts? Until I understand the related files and
> configuration, I am not sure how I can get it to work.

Does running 'fc-match' return anything?  That's the font pango will find and use.


> Please help. Thanks.
> --- On *Mon, 9/20/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: Monday, September 20, 2010, 11:59 AM
>     On 09/19/10 13:14, William Mok wrote:
>     > Do I need to install any fonts?
>     Yes.  Install any font package.
>     behdad

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