Re: Pango 1.1.1



Robert Roebling t-online de (Robert Roebling) writes:

>   Hi,
> 
> after previous problems with font sizes I tried the newly
> released Pango 1.1.1. I know it is under development, but
> feedback is hopefully appreciated anyway.

Feedback is even more appreciated because it is under
development :-)

> I use FcConfig version RC2, Pango 1.1.1, GTK+ 2.0.5 on
> a largely unmodified SuSE 8.0 (the most recent from SuSE).
> 
> At first FcConfig just put a wrong entry into its config.h
> as the last line was:
> #define FONTCONFIG_PATH "$(prefix)/etc/fonts"
> instead of 
> #define FONTCONFIG_PATH "/usr/local/etc/fonts"
> or whatever was intended. I changed that to where my
> font.conf really is.

I don't see how this is possible. $(prefix) is not valid
shell syntax and doesn't occur anywhere in etc. The only
way I can see this happening is if you configured

 ./configure --sysconfdir="$(prefix)/etc".
 
> Now Xft doesn't find any font or at least it doesn't find
> the Nimbus font. It complains about that with this message:
> "WARNING **: Cannot open font file for font Nimbus Sans L, 10"
> when running any GTK sample. This is rather surprising to
> me as Fontconfig does create a ~/.font.cache file which
> includes the paths to the Nimbus files from the ghostscript
> distribution. 

Can you put a call to FcPatternPrint (xfont->font_pattern) into 
pango/pangoxft.c-font.c:pango_xft_font_get_font() and see
what pattern is failing?

> A little later, the app crashes in XftCharIndex()
> called from pango_xft_font_get_glyph().

Odd. It will never get out of pango_xft_font_get_font() unless
it can successfully load *some* font.

Regards,
                                        Owen



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