fonts setting in X for pango, gtk 1.3



Hi,

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.

Here is my fonts.dir config:

5
mingliu.ttf -DynaLab-MingLiU-medium-r-normal--0-0-0-0-m-0-iso10646-1
msgothic.ttf -Ricoh-MS Gothic-medium-r-normal--0-0-0-0-p-0-iso10646-1
simsun.ttf -misc-SimSun-medium-r-normal--0-0-0-0-p-0-iso10646-1
simhei.ttf -misc-SimHei-medium-r-normal--0-0-0-0-p-0-iso10646-1

and..

$ more fonts.scale
5
mingliu.ttf -DynaLab-MingLiU-medium-r-normal--0-0-0-0-m-0-iso10646-1
msgothic.ttf -Ricoh-MS Gothic-medium-r-normal--0-0-0-0-p-0-iso10646-1
simsun.ttf -misc-SimSun-medium-r-normal--0-0-0-0-p-0-iso10646-1
simhei.ttf -misc-SimHei-medium-r-normal--0-0-0-0-p-0-iso10646-1

Patrick






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