RE: [ft-devel] the font can not be displayed correct
Yes, the Adobe Acrobat can handle it, the font has been embedded in the pdf, so it is not concerned in system. -Original Message- From: Werner LEMBERG [mailto:[EMAIL PROTECTED] Sent: Friday, January 05, 2007 11:04 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; freetype-devel@nongnu.org Subject: Re: [ft-devel] the font can not be displayed correct I have known why it can not be displayed correctly. Because the font file is not complete, it lack of several tables for the hint, so It is correct, when I opened the auto hint of the ftview. But you told as that Adobe Acrobat can handle it, right? Werner ___ Freetype-devel mailing list Freetype-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/freetype-devel
RE: [ft-devel] the font can not be displayed correct
1.jpg is incorrect image by the ftview, and the 2.jpg is the correct image. I have known why it can not be displayed correctly. Because the font file is not complete, it lack of several tables for the hint, so It is correct, when I opened the auto hint of the ftview. Thanks for your response. Best wishes. Bigpin 1/5/2007 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, January 05, 2007 1:42 PM To: DingLi (丁力) Cc: freetype-devel@nongnu.org Subject: Re: [ft-devel] the font can not be displayed correct Hi, On Fri, 5 Jan 2007 13:21:21 +0800 DingLi(丁力) [EMAIL PROTECTED] wrote: This font file is extracted in the pdf files. And in the pdf the character can be displayed correctly by the acrobat reader. But the it is not correct in the ftview. Please describe detail how it is incorrect when rendered by ftview. Regards, mpsuzuki attachment: 1.JPG attachment: 2.JPG ___ Freetype-devel mailing list Freetype-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/freetype-devel
Re: [ft-devel] the font can not be displayed correct
I believe Acrobat doesn't use TrueType hinting, except for fonts installed on the system. That could explain why it works there... - David On Fri, 05 Jan 2007 16:03:45 +0100 (CET), Werner LEMBERG [EMAIL PROTECTED] said: I have known why it can not be displayed correctly. Because the font file is not complete, it lack of several tables for the hint, so It is correct, when I opened the auto hint of the ftview. But you told as that Adobe Acrobat can handle it, right? Werner ___ Freetype-devel mailing list Freetype-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/freetype-devel ___ Freetype-devel mailing list Freetype-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/freetype-devel
Re: [ft-devel] the font can not be displayed correct
Hi, On Fri, 5 Jan 2007 13:53:51 +0800 DingLi(丁力) [EMAIL PROTECTED] wrote: 1.jpg is incorrect image by the ftview, and the 2.jpg is the correct image. I have known why it can not be displayed correctly. Because the font file is not complete, it lack of several tables for the hint, so It is correct, when I opened the auto hint of the ftview. thank you. I've built vanilla freetype2 on latest CVS, and I could not reproduce 1.jpg. My result is same with 2.jpg. Please describe detail of your ftview. By commenting-out following 2 macros: /* #define TT_CONFIG_OPTION_BYTECODE_INTERPRETER */ /* #define TT_CONFIG_OPTION_UNPATENTED_HINTING */ I disabled bytecode interpreter, but the result is same with 1.jpg. I'm not sure whether your trouble is related with hinting. My analysis of the font file is following, no cmap but not broken. [sfnt] version = 0x00 0x01 0x00 0x00 [sfnt] numTables = 0x0009 tag hmtx offset 0x03d4 length 0x0018 checkSum 0x29018003 tag hhea offset 0x03b0 length 0x0024 checkSum 0xe402 tag maxp offset 0x0408 length 0x0020 checkSum 0xa8026901 tag post offset 0x06ce length 0x0020 checkSum 0x0c00edff tag head offset 0x037a length 0x0036 checkSum 0x1e2560a5 tag loca offset 0x03ec length 0x001c checkSum 0x7004 tag name offset 0x0428 length 0x02a6 checkSum 0x0f152ff3 tag glyf offset 0x00f2 length 0x0288 checkSum 0xa6f7136f tag OS/2 offset 0x009c length 0x0056 checkSum 0xda67ed4c [OS/2] usWeightClass = 0x0190, usWidthClass = 0x0005 [OS/2] fsType = 0x [OS/2] sFamilyClass = 0x [OS/2] panose[2, 1, 6, 0, 3, 1, 1, 1, 1, 1] UnicodeRange: 0 [Basic Latin] UnicodeRange: 49 [Hiragana] UnicodeRange: 50 [Katakana] UnicodeRange: 51 [Bopomofo, Extended Bopomofo] UnicodeRange: 59 [CJK Unified Ideographs, Radicals, Description and Extension A] CodePageRange: 18 [Chinese: Simplified chars--PRC and Singapore] [loca] glyph[0] starts @ 0 [loca] glyph[1] starts @ 0 [loca] glyph[2] starts @ 0 [loca] glyph[3] starts @ 0 [loca] glyph[4] starts @ 270 [loca] glyph[5] starts @ 474 [loca] glyph[6] starts @ 648 ___ Freetype-devel mailing list Freetype-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/freetype-devel
Re: [ft-devel] the font can not be displayed correct
I've built vanilla freetype2 on latest CVS, and I could not reproduce 1.jpg. I can reproduce it. Just say `make devel' to get a version which exhibits the bug. Debugging the instructions of glyph `b' with FontForge, I can see that they do cruel things with the outline, mainly caused by ALIGNRP instructions which apparently use incorrect reference points. Maybe this is related to wrong outline orientations? David? Werner ___ Freetype-devel mailing list Freetype-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/freetype-devel