Bug 687845 - text doesn't appear from embedded japanese font
Summary: text doesn't appear from embedded japanese font
Status: NOTIFIED DUPLICATE of bug 645316
Alias: None
Product: Ghostscript
Classification: Unclassified
Component: PS Interpreter (show other bugs)
Version: master
Hardware: All All
: P2 normal
Assignee: Igor Melichev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-09 20:34 UTC by Jack Moffitt
Modified: 2011-09-18 21:46 UTC (History)
0 users

See Also:
Customer: 1120
Word Size: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jack Moffitt 2004-12-09 20:34:50 UTC
The attached file from the customer renders as a blank page with Ghostscript. 
The text from teh embedded japanese font is missing.
Comment 1 Jack Moffitt 2004-12-09 20:35:33 UTC
Created attachment 1088 [details]
QXHGmaruGothicNotPrinted.ps
Comment 2 Igor Melichev 2004-12-22 02:07:12 UTC
The problem looks similar to the bug 645316, but in this case the creator is 
PScript5.dll Version 5.2.2, and a GS executes stringwidth with a CID font below 
a Type0FMapType9[Type3] BuildChar. 
Comment 3 Igor Melichev 2004-12-22 02:42:27 UTC
Experimenting with CPSI, got :
1. It uses a Type 0 font with FMapType 9 and a single Type 3 decscendent.
2. The used CMap is /QUARKCMap, which is identity. (BTW it defines a "2-
dimension" range <0000> <FFFF>, which meanwhile is kinda degenerate).
2. Executing BuildChar of the Type 3 font, it passes the 2nd byte of the 
character code.
3. BuildChar executes setfont with a Type 11 font, and then runs stringwidth 
with 1 byte string, which stores the BuildChar argument.

Thus likely Adobe passes the char code from the outer *show to the internal 
text operation of the BuildChar, when the current font is a CID font. I don't 
see such behavior in PLRM. Need to find out where it is documented. Note that 
the old CPSI 3010.105 behaves so.
Comment 5 Igor Melichev 2004-12-22 11:01:47 UTC

*** This bug has been marked as a duplicate of 645316 ***
Comment 6 Marcos H. Woehrmann 2011-09-18 21:46:44 UTC
Changing customer bugs that have been resolved more than a year ago to closed.