Bug 687298 - (pdfwrite) composite font with Type 3 descendent
Summary: (pdfwrite) composite font with Type 3 descendent
Status: NOTIFIED FIXED
Alias: None
Product: Ghostscript
Classification: Unclassified
Component: PDF Writer (show other bugs)
Version: master
Hardware: PC Windows XP
: P3 normal
Assignee: leonardo
URL:
Keywords:
: 687875 688221 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-02-12 01:06 UTC by Igor Melichev
Modified: 2008-12-19 08:31 UTC (History)
0 users

See Also:
Customer:
Word Size: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Igor Melichev 2004-02-12 01:06:46 UTC
Type 3 descendent of a composite font and all subsequent characters of the text 
are converted into a bitmap font. This happens due to pdf_text_set_cache tries 
to encode a character with penum->orig_font and fails. The problematic code is 
gdevpdtt.c ln 118. Instead that it must use penum->current_font and penum-
>returned.corrent_glyph, because pdfwrite should decompose the composite font 
into descendents. Test cases are the 2dn string in the box 020-08 in 020-01.ps, 
and 093-01.ps .
Comment 1 Igor Melichev 2004-02-12 01:07:30 UTC
Created attachment 493 [details]
020-01-.ps 

Attaching a reduced test.
Comment 2 Igor Melichev 2005-07-21 11:29:35 UTC
*** Bug 688221 has been marked as a duplicate of this bug. ***
Comment 3 Igor Melichev 2005-07-21 11:29:56 UTC
Another test case is Bug687845.ps .
Comment 5 leonardo 2006-01-25 13:57:50 UTC
*** Bug 687875 has been marked as a duplicate of this bug. ***
Comment 6 leonardo 2006-01-25 14:15:58 UTC
One more patch to HEAD :
http://ghostscript.com/pipermail/gs-cvs/2006-January/006255.html