Dear Danai,
Now I have according to your advice to generate the virtual fonts of
simsun.ttf, the real font is encoded in UTF8, and virtaual font is GBK.
First, I make a dir named *vf*, then I put the *subfonts* subdir extracted
from Werner's *cjk-current/utils* dir to the *vf* dir; in addition, for
convenience, I also put the file UGBK.sfd and Unicode.sfd into the
*vf/subfonts* dir and put the file aglfn13.txt into the *vf* dir. Now I have a
dir tree with the following structure:
************
vf
|
|---aglfn13.txt
|---subfonts
|
|
|____________ | clonevf.pl
| hlatex2agl.pl
| makefdx.pl
| mksubfonts.sh
| sfd2uni.pl
| subfonts.pe
| UGBK.sfd
| uni2sfd.pl
| Unicode.sfd
| vertical.pe
| vertref.pe
*****************
Second, in the dir *vf*,
I run the command as follow:
*************************
fontforge -script subfonts/subfonts.pe ~/texmf/fonts/truetype/simsun.ttf \
songu subfonts/Unicode.sfd
fontforge -script subfonts/vertical.pe ~/texmf/fonts/truetype/simsun.ttf \
songuv
fontforge -script subfonts/vertref.pe ~/texmf/fonts/truetype/simsun.ttf \
songuvr
perl subfonts/clonevf.pl songuv songsv
perl subfonts/uni2sfd.pl songu subfonts/Unicode.sfd songs cjkgbk
perl subfonts/makefdx.pl songuvr.afm subfonts/UGBK.sfd c19song.fdx
perl subfonts/makefdx.pl songuvr.afm subfonts/Unicode.sfd c70song.fdx
for filename in *.pfb; do if [ $filename != "songuvr.pfb" ] ; then echo \
"$(basename $filename .pfb) $(basename $filename .pfb) <$filename" >> \
songu.map; fi; done
************************
Then I mv all the file to its place,but I can't latex the GBK encodint
file correctly.
The following is my question:
1. In my case, can you give me the examples of the files *.fd?
I'm conflused about the entries it it.
2. Can you give me a mini tex source file that can be used in my UTF8
encoding scheme that use the real font, and a mini tex source file that can
be used in my virtual GBK encoding scheme that use the virtual GBK fonts?
Best,
Hongsheng.
__________________________________________________
¸Ï¿ì×¢²áÑÅ»¢³¬´óÈÝÁ¿Ãâ·ÑÓÊÏä?
http://cn.mail.yahoo.com
_______________________________________________
Cjk maillist - [email protected]
http://lists.ffii.org/mailman/listinfo/cjk