Bug 687298

Summary: (pdfwrite) composite font with Type 3 descendent
Product: Ghostscript Reporter: Igor Melichev <igor.melichev>
Component: PDF WriterAssignee: leonardo <leonardo>
Status: NOTIFIED FIXED    
Severity: normal    
Priority: P3    
Version: master   
Hardware: PC   
OS: Windows XP   
Customer: Word Size: ---

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