Summary: | Regression: CID font emulation is broken. | ||
---|---|---|---|
Product: | Ghostscript | Reporter: | leonardo <leonardo> |
Component: | PS Interpreter | Assignee: | leonardo <leonardo> |
Status: | NOTIFIED FIXED | ||
Severity: | blocker | ||
Priority: | P1 | ||
Version: | master | ||
Hardware: | PC | ||
OS: | Windows NT | ||
Customer: | Word Size: | --- | |
Bug Depends on: | |||
Bug Blocks: | 688058, 689304 | ||
Attachments: |
patch.txt
Leo's patch in the standard diff format. cidfmap |
Description
leonardo
2008-06-12 04:29:29 UTC
Upgrading the priority for regression bug, and because another P2 bug depends on this one. Yes, this is a regression but it was introduced a while ago: r8228 | mpsuzuki | 2007-09-05 03:54:54 -0400 (Wed, 05 Sep 2007) | 35 lines Fix (TT fonts) : Suppress loading trailing data after chosen cmap subtable. This result was obtained using a different font. Please attach your font to the bug report. Created attachment 4117 [details]
batang.ttc.zip
Attaching the font packed with WinZIP.
Setting P1 blocker because it is similar to 689976. I'm working on both. Created attachment 4240 [details]
patch.txt
A suggested patch to HEAD is being tested. Sorry it is generated with fc.exe
because Cygwin doesn't work on Vista 64.
Created attachment 4241 [details]
Leo's patch in the standard diff format.
I agree with the proposed changes, confirm that the patch works, and see no regressions in local testing. Patch to HEAD : http://ghostscript.com/pipermail/gs-cvs/2008-July/008460.html I reopen this bug because we still fail loading OTFs from Vista. The test case is attachment 3073 [details] from the bug 689304 and a cidfmap file which I'll attach. Created attachment 4427 [details]
cidfmap
cidfmap to reproduce the problem.
Created attachment 4428 [details]
KozGoPro-Light.otf
The font from Vista.
Created attachment 4429 [details]
KozGoPro-Medium.otf
The 2nd font.
I missed to reopen it on 2008-09-25, so doing now. Assigning to myself for a faster resolution because Alex is busy. Oops, that OTF font doesn't include TT data. It includes a CFF instead. So it's a different bug. I opened a new bug 690110 for that case. Restoring the "resolved fixed" state for this bug. |