To display CJK italic and bold fonts

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

 



Xft and xfs dosn't process cjk xtt fonts.dir like this:

simhei.ttf -misc-SimHei-medium-r-normal--0-0-0-0-c-0-gb2312.1980-0
ai=0.3:simhei.ttf -misc-SimHei-medium-i-normal--0-0-0-0-c-0-gb2312.1980-0
ds=y:simhei.ttf -misc-SimHei-bold-r-normal--0-0-0-0-c-0-gb2312.1980-0
ds=y:ai=0.3:simhei.ttf -misc-SimHei-bold-i-normal--0-0-0-0-c-0-gb2312.1980-0

So must add CJK truetype path for xtt and xtt module in 
/etc/X11/XF86Config-4 when install with CJK languages.

Section "Files"
...
    FontPath "/usr/X11R6/lib/X11/fonts/TrueType"
EndSection

# Module loading section

Section "Module"
...
    Load "xtt"
EndSection

So we can display cjk italic and bold fonts now. 
/usr/X11R6/lib/X11/fonts/TrueType is fit to ttfm. ttfm is cjk truetype 
fonts manager to add cjk fonts easy.



_______________________________________________
Redhat-devel-list mailing list
Redhat-devel-list@redhat.com
https://listman.redhat.com/mailman/listinfo/redhat-devel-list

[Index of Archives]     [Kernel Newbies]     [Red Hat General]     [Fedora]     [Red Hat Install]     [Linux Kernel Development]     [Yosemite News]

  Powered by Linux