Thanks! I have got it.
Most of it can be displayed correctly.

But There are also some question:
The first one, in the font F4.1.ttf,the glyph(index:3058, maybe the Chinese 
character "版") can not be parsed.

The second, I use the function "FTC_SBitCache_Lookup" to get the bitmap, it is 
wrong. And the "FTC_ImageCache_Lookup" is right.

The third, can you tell me which files be changed for this problem?

Best regard~

Bigpin

-----Original Message-----
From: Werner LEMBERG [mailto:[EMAIL PROTECTED] 
Sent: Friday, December 07, 2007 7:18 PM
To: [EMAIL PROTECTED]
Cc: [email protected]
Subject: Re: [ft-devel] The font can't be parsed correctly

> My changes are very small and non-invasive, so iif you can handle
> other CFF fonts out of the box, the two faulty ones should now work
> too.

A follow up: here's the log output for the first glyph if you say

  FT2_DEBUG=any:7 ftview 50 invalid-opcodes.cff > invalid-opcodes.log


    53 252 hsbw (invalid op)
    -1 35 rmoveto
    42 -33 38 -38 30 -43 rrcurveto
    38 41 rlineto
    -31 40 -37 36 -42 28 rrcurveto
    closepath (invalid op)
    endchar


  Werner
_______________________________________________
Freetype-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/freetype-devel

Reply via email to