Re: fonts setting in X for pango, gtk 1.3
- From: Patrick Sung <phsung ualberta ca>
- To: gtk-devel-list gnome org
- Subject: Re: fonts setting in X for pango, gtk 1.3
- Date: Fri, 08 Jun 2001 22:53:07 -0600
Patrick Sung wrote:
> I am trying to run the gtk-demo and various demo to see how pango
> displays CJK chars. But unfortunately I can't get the Japanese example
> to display the japanese. In particular, I can't see the Kanji character
> displayed using the example in "tests/testtext". I can see all the
> other characters displayed except the Kanji (or Chinese char if I am
> trying to open a UTF8 CJK encoded file).
>
> How did you setup X and what fonts (and where to get it?) did you use?
> I have been trying to use the Microsoft unicode fonts (truetype) with no
> success.
Ok.. so now I have Japanese BDF fonts set up on X... and I can read all the
Kanji and even some others meant to be in Chinese (i convert a text from
Big5 to UTF8 and use the testtext program to load it, about 80% of chars is
displayed)
So I dig through some of the Pango code, and found that the Basic engine
didn't convert to Big5.. rather it goes to GB and JIS.
So now my question becomes, will there be big5 support? so I can see all the
Traditional chinese char on my doc? (i didn't try with the simplied GB fonts
yet). Also my second is, how can I setup TrueType fonts (in particular
unicode truetype fonts) and let pango use it? (i've heard the GDK_USE_XFT=1
environment variable will do the tricks, but what about using unicode fonts?
i.e. ISO10646-1 encoding)
I would love to try to add BIG5 conversion to the basic engine if it is
needed.
Patrick
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]