Re: Unexpected font rendering with pango



On Fri, 2003-06-27 at 13:26, Stephan Hegel wrote:
> Recently I have found an unusual behaviour in Chinese font rendering
> with Pango.Please have a look at the attached, little screenshots. The
> only difference between both is the setting of the locale before starting
> the application. The first one uses LC_ALL=en_US and the second one
> LC_ALL=zh_CN.GB2312. The font rendering is - despite the missing
> antialiasing - fine on the second pix, but not o.k. in the first
> case. It somehow uses a different size of fonts in just one string ...
> 
> Anyone out there who has an idea or a hint how to track this and/or to
> fix this ?

It's doing this because of the preference order of the fonts.  With
en_US its picking up a japanese or korean font first, and using that to
display any characters it has support for - and only then moving to the
chinese font.  When in the chinese locale, it knows to use chinese fonts
first...  So you'll need to fiddle with the config files.

-- 
Abi





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