freetype
[Top][All Lists]
Advanced

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

[Freetype] Re: [ttf2pt1-devel] about FT2 parser


From: Sergey Babkin
Subject: [Freetype] Re: [ttf2pt1-devel] about FT2 parser
Date: Thu, 18 Apr 2002 21:07:48 -0400

Edward Lee wrote:
> 
> Hello Sergey,
> 
>   I found a strange thing. If i use FT2 parser to produce
>   Chinese Type1 fonts. Seems my LaTeX/CJK system cannot accept
>   the *.ftm files.
> 
> edt1023:~/Devel$ bg5latex Big5-cjk.tex
> This is TeX, Version 3.14159 (Web2C 7.3.1)
> (Big5-cjk.cjk
> LaTeX2e <2000/06/01>
> Babel <v3.7h> and hyphenation patterns for american, french, german, ngerman, 
> i
> talian, nohyphenation, loaded.
> (/usr/local/share/texmf/tex/latex/base/article.cls
> Document Class: article 2000/05/19 v1.4b Standard LaTeX document class
> (/usr/local/share/texmf/tex/latex/base/size12.clo))
> (/usr/local/share/texmf/tex/CJK/CJK.sty 
> (/usr/local/share/texmf/tex/CJK/CJK.enc
> )) (Big5-cjk.aux) (/usr/local/share/texmf/tex/CJK/standard.bdg)
> (/usr/local/share/texmf/tex/CJK/Bg5/Bg5.enc)
> (/usr/local/share/texmf/tex/CJK/Bg5/Bg5.chr)
> (/usr/local/share/texmf/tex/CJK/Bg5/c00aming.fd)
> ! Font C00/aming/m/n/12/06=bsmi00lp06 at 12.0pt not loadable: Bad metric (TFM)
> file.
> ......
> 
>   But if I use built-in parser, there is no such a problem. *.pfb is OK,
>   the problem seems due to the FT-2.0.9(I'm not sure, I cannot figure
>   out what is going on). Seems that afm produce from FT2 parser have some
>   wrong character bounding box values.

I have no idea. Apparently the difference between the afm files is:

45c45
< C 27 ; WX 1000 ; N ZdZ2708 ; B 41 322 956 25886 ;
---
> C 27 ; WX 1000 ; N ZdZ2708 ; B 41 -47 956 818 ;
274c274
< C -1 ; WX 1000 ; N .notdef ; B 0 0 0 0 ;
---
> C -1 ; WX 1000 ; N .notdef ; B 225 68 315 685 ;

and most probably it does not like the value of 25886. Maybe
the Freetype people can say how it gets there.

-SB



reply via email to

[Prev in Thread] Current Thread [Next in Thread]