Re: pb with fonts



Hi,

<segv-tomate freesurf fr> writes:

> when i compile the classic hello world in gtk and execute it, i have fonts pb
> 
> execution gives me that :
> $ ./test
> 
> ** (test:1972): WARNING **: Couldn't load font "Sans 10" falling back to
> "Sans 10"
> 
> ** (test:1972): WARNING **: Couldn't load font "Sans 10" falling back to
> "Sans 10"
> 
> ** (test:1972): WARNING **: All font failbacks failed!!!!


this has nothing to do with your code. You need to provide proper font
configuration for GTK+-2.0 applications to work correctly. Depending
on whether you use the X11 or the Xft backend you have to provide a
pangox.aliases or an XftConfig file. The Pango source comes with
examples.


Salut, Sven



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