[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Devel] Re: [Freetype] Re: [ttf2pt1-devel] about FT2 parser
From: |
Edward Lee |
Subject: |
[Devel] Re: [Freetype] Re: [ttf2pt1-devel] about FT2 parser |
Date: |
Sun, 28 Apr 2002 22:06:26 +0800 |
User-agent: |
Mutt/1.5.0i |
Thanks Werner,
On Sun, Apr 28, 2002, Werner LEMBERG wrote:
> > freetype2-current(the same with CVS version).
> >
> > The weird thing is, everything is Ok, no error messages,
> > the *.t1a/*.pfb only have ascii characters no Chinese fonts
> > inside.
>
> I found the problem. The new charmap routines contain validation code
> for TrueType cmaps. Unfortunately, all (4,3) cmaps in the Arphic
> fonts are buggy, not passing the tests. Consequently, no Unicode
> cmap is provided by FT2.
>
> Please compile FT2 with FT_CONFIG_OPTION_USE_CMAPS undefined to use
> the old code, then it should work again.
It works well thanks. Meanwhile the same problem is solved
on my mlterm. Oh, it's too hard to me to find out this problem.
But still produce the odd *.afm file, my example is bsmi00lp.ttf.
in my bsmi00lp06.afm,
C 27 ; WX 1000 ; N ZdZ2708 ; B 41 322 956 25886 ;
^^^^^
So the bsmi00lp06.tfm(from afm2tfm) cannot use by TeX,
! Font C00/aming/m/n/14.4/06=bsmi00lp06 at 14.4pt not loadable: \
Bad metric (TFM) file.
My ttf2pt1 arguments,
%%CreationDate: Sun Apr 28 21:41:51 2002
% Converted by ttf2pt1 3.4.1-CURRENT/ft
% Args: -GE -pft -Ohub -W4 -L /usr/local/share/ttf2pt1/maps/cubig5.map+06
bsmi00lp.ttf bsmi00lp06
%%EndComments
> We will try to find a solution to the problem.
Hope there are no side effect if I undef the FT_CONFIG_OPTION_USE_CMAPS.
>
> Werner
>
>
> PS: You must use the latest CVS version; right now I've fixed some
> typos which prevented compilation if FT_CONFIG_OPTION_USE_CMAPS
> isn't set.
Rgds,
Edward G.J. Lee