Red Hat Bugzilla – Bug 64269
ttf font not found when install CJK ttf font
Last modified: 2007-04-18 12:42:23 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9) Gecko/20020408
Description of problem:
Install Redhat linux with Simplified Chinese and Tranditional Chinese. Default
language is Simplified Chinese. type 'cd /usr/share/ghostscript/Resource'. Then
type './alias-ag14.sh install hj=gbsn00lp.ttf'. It will print 'gbsn00lp.ttf not
found in /usr/local/share/fonts/truetype. It means ttf fonts directory is wrong.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Install Redhat linux with English,Simplified Chinese and Tranditional Chinese.
Default language is Simplified Chinese.
3../alias-ag14.sh install hj=gbsn00lp.ttf
Actual Results: gbsn00lp.ttf not found in /usr/local/share/fonts/truetype
Expected Results: +hj=gbsn00lp.ttf
Modify TTFontDir like this 'TTFontDir=/usr/share/fonts/ttf' in file
'alias-cid.sh'. Then it work fine. Source must be modified to fit this.
What do you mean the default? it depends on what fonts you use. so you should be
unnecessary to do that. if you want to use Traditional Chinese font, you should
just use ZenKai-Medium and ShanHeiSun-Light. for example:
/ZenKai-Medium-B5-H findfont 10 scalefont setfont
0 100 moveto
You don't have to install any extra for our installed CJK ttfs now. gbsn00lp.ttf is
already installed as CIDFnmap in /usr/share/ghostscript/7.05/lib/CIDFnmap.ARP. That
location can be the location for your own installed font.