-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Danai SAE-HAN (韓達耐) wrote:
> (Please also CC to cjk@ffii.org when replying.)
> 
> From: zhaohs <[EMAIL PROTECTED]>
> 
>> Dear Danai SAE-HAN,
>>   Thank you for your test,can you tell me the details,how can I use the
>> subfonts.pe to generate the high quality characters wich can be used by
>> dvipdfmx,I have been puzzling about this parameters in using fontforge.
> 
> I don't know how to name the font, so I'll just call it "sunext".
> I'm not going to explain how to get vertical fonts or how to use
> uni2sfd, because I haven't tried myself yet.  Check out the CJK
> documentation.
> 
> Put Sun-Ext{A,B}.ttf in /usr/local/share/fonts/truetype/sunext/ and
> put symlinks in /usr/local/share/texmf/fonts/truetype/sunext/ .
> 
> $ mkdir -p /usr/src/sunext{a,b}
> 
> $ cd /usr/src/sunexta
> $ fontforge -script /usr/src/cjk-current/utils/subfonts/subfonts.pe \
>     /usr/local/share/fonts/truetype/sunext/Sun-ExtA.ttf sunext \
>     /usr/local/share/texmf/fonts/sfd/Unicode.sfd
> 
> $ cd ../sunextb
> $ fontforge -script /usr/src/cjk-current/utils/subfonts/subfonts.pe \
>     /usr/local/share/fonts/truetype/sunext/Sun-ExtB.ttf sunext \
>     /usr/local/share/texmf/fonts/sfd/Unicode.sfd
> $ rm -f sunext00.*
> 
> The Fontforge process will consume hundreds of MB of memory and take
> hours to compile.
> 
> As root, do the following:
> 
> $ mkdir -p /usr/local/share/texmf/fonts/{afm,tfm,type1}/sunext
> $ mkdir -p /usr/local/share/texmf/fonts/map/dvips/sunext/
> $ cp sunext?/*.afm /usr/local/share/texmf/fonts/afm/sunext/
> $ cp sunext?/*.tfm /usr/local/share/texmf/fonts/tfm/sunext/
> $ cp sunext?/*.pfb /usr/local/share/texmf/fonts/type1/sunext/
> 
> $ cd /usr/local/share/texmf/fonts/type1/sunext/
> $ for filename in *.pfb;
>     do echo "$(basename $filename .pfb) $(basename $filename .pfb) 
> <$filename" \
>     >> ../../map/dvips/sunext/sunext.map;
>     done
> 
> $ texhash
> 
> 
> Now you have to update "updmap" to get the Type1 fonts working
> properly.  This depends heavily on your distribution.
> 
> On Debian you would have to create a file called
> /etc/texmf/updmap.d/10sunext.cfg with the following lines:
> 
> ######
> # 10sunext.cfg
> Map sunexta.map
> ######
> 
> and then as root run "update-updmap" and "updmap-sys".
> 
> 
> In the nobmp2.tex file, change a few lines:
> 
> [...]
> 
> \usepackage{array}
> \usepackage[T1]{CJKutf8}
> 
> [...]
> 
> \begin{CJK}{UTF8}{sunext}
> 
> [...]
> 
> 
> 
> That's it!
> 
> 
> 
> Danai SAE-HAN
> 韓達耐
> 
where is dvipdfmx?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFE+h+6exs2apGZoVgRApLMAKDA1H2zkyOggB4GMlCwQwDGjP5tjQCg+OHa
HFFzifZbCP4x3iV0LW4HrKM=
=zYBm
-----END PGP SIGNATURE-----

_______________________________________________
Cjk maillist  -  Cjk@ffii.org
http://lists.ffii.org/mailman/listinfo/cjk

Reply via email to