2007/12/22, "Danai SAE-HAN (�n�_耐)" <[EMAIL PROTECTED]>:
>
>
> $ fontforge -script subfonts.pe cyberbit.ttf cyberbit \
> /usr/share/texmf/fonts/sfd/Unicode.sfd
you can modify subfonts.pe, and remove AddExtrema and Simplify(0, 2) to get
fast, and you may want to change ScaletoEM(900, 100). For uming and ukai, i
chang them to (800, 200)
This will take a very long time, so make yourself a nice cup of tea.
>
> $ for i in *.pfb
> do
> echo "$(basename $i .pfb) $(basename $i .pfb) <$i" \
> >> cyberbit.map
> done
if you use dvipdfmx, this map file is not needed. Map file is like this:
`TFMfile' `PS FontName' <`type1 file name'
$ mkdir -p /usr/local/share/texmf/fonts/map/dvips/cyberbit/
> /usr/local/share/texmf/fonts/{afm,type1,tfm}/cyberbit
>
> You can write this command all on one line, or just copy and paste
> the three lines in your terminal.
>
> Put cyberbit.map in /usr/local/share/texmf/fonts/map/dvips/cyberbit/
> and put *.afm, *.tfm and *.pfb to
> /usr/local/share/texmf/fonts/{afm,tfm,type1}/cyberbit respectively.
you just need tfm and pfb..
Run "texhash" or "mktexlsr" as root.
> Now add a file called /etc/texmf/updmap.d/10cyberbit.cfg with the
> following four lines:
>
> ######
> # 10cyberbit.cfg
> Map cyberbit.map
> ######
just use texhash and mktexlsr as a normal user. if you want to add a map.
you can
$ updmap --enable Map *.map
or just edit .texmf-config/web2c/updmap.cfg. it is
$TEXMFCONFIG/web2c/updmap.cfg
and then run "cd ..", "update-updmap -c /etc/texmf/updmap.d/" and
> "updmap-sys". You need to go to another directory, or updmap-sys
> will use cyberbit.map from the building directory; that's why you
> have to change directory first.
>
> If c70song.fd already exists on your computer, make sure it's deleted
> first. Now make a file
> /usr/local/share/texmf/tex/latex/CJK/UTF8/c70song.fd
> and use the following content:
>
> %%%%%%
> % This is the file c70song.fd of the CJK package
> % for using Asian logographs (Chinese/Japanese/Korean) with LaTeX2e
> %
> % created by Werner Lemberg <[EMAIL PROTECTED]>
> %
> % Version 4.6.0 (11-Aug-2005)
>
> \def\fileversion{4.6.0}
> \def\filedate{2005/08/11}
> \ProvidesFile{c70song.fd}[\filedate\space\fileversion]
>
>
> % character set: Unicode U+0080 - U+FFFD
> % font encoding: Unicode
>
> \DeclareFontFamily{C70}{song}{\hyphenchar [EMAIL PROTECTED]
>
> \DeclareFontShape{C70}{song}{m}{n}{<-> CJK * cyberbit}{}
> \DeclareFontShape{C70}{song}{bx}{n}{<-> CJKb * cyberbit}{\CJKbold}
>
> \endinput
> %%%%%%
>
> and run "texhash" as root again.
FD file is very important.
FD file, TFM file is most important, then Type 1 font and map.
if you want to use TTF, you need FD file, TFM file, cid-x.map.
HTH
>
> --
> Danai SAE-HAN (�n�_耐)
>
> �}目:《六月二十七日望湖�亲���》
> 作者:�K�Y(1036-1101)
>
> 黑云翻墨未遮山,白雨跳珠�y入船。
> 卷地�L�砗龃瞪�,望湖�窍滤�如天。
>
>
> _______________________________________________
> Cjk maillist - [email protected]
> https://lists.ffii.org/mailman/listinfo/cjk
>
>
_______________________________________________
Cjk maillist - [email protected]
https://lists.ffii.org/mailman/listinfo/cjk