Bug 688123 - Outline not embedded for TTF glyph outside of encoding vector.
Summary: Outline not embedded for TTF glyph outside of encoding vector.
Status: RESOLVED DUPLICATE of bug 688017
Alias: None
Product: Ghostscript
Classification: Unclassified
Component: PDF Writer (show other bugs)
Version: 8.51
Hardware: PC Linux
: P3 normal
Assignee: Igor Melichev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-02 09:00 UTC by Han-Wen Nienhuys
Modified: 2007-12-13 12:55 UTC (History)
1 user (show)

See Also:
Customer:
Word Size: ---


Attachments
test case (prdouces bitmap glyph) (1.09 KB, application/postscript)
2005-06-02 09:01 UTC, Han-Wen Nienhuys
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Han-Wen Nienhuys 2005-06-02 09:00:39 UTC
Hi, 

see the attached PS file.

When running this through ps2pdf14, I get
 
muurbloem:/tmp$ pdffonts  type3-2.pdf
name                                 type         emb sub uni object ID
------------------------------------ ------------ --- --- --- ---------
[none]                               Type 3       yes no  yes     11  0
PEMPHJ+BookAntiqua                   TrueType     yes yes no       9  0

The output has a bitmap for o-double acute.

When uncommenting the % before odblacute in the encoding vector  and rerunning
ps2pdf14, the PDF has no bitmaps, and I get



muurbloem:/tmp$ pdffonts  type3-2.pdf
name                                 type         emb sub uni object ID
------------------------------------ ------------ --- --- --- ---------
TSPQUC+BookAntiqua                   TrueType     yes yes yes      9  0



The ps file uses BKANT.TTF (Book Antiqua), which is shipped by Microsoft with
some products. I'll try to attach privately.
Comment 1 Han-Wen Nienhuys 2005-06-02 09:01:38 UTC
Created attachment 1421 [details]
test case (prdouces bitmap glyph)
Comment 2 Han-Wen Nienhuys 2005-06-02 09:03:56 UTC
Hi,

I can't attach bkant.ttf as its (c) microsoft. If you need it, please attach a
comment where to send the file.

Thanks!

(and of course, many thanks for Ghostscript :-) 
Comment 3 Han-Wen Nienhuys 2005-06-02 09:32:48 UTC
Created attachment 1422 [details]
book antiqua ttf font.
Comment 4 Han-Wen Nienhuys 2005-06-02 09:40:55 UTC
Also see bug 688017, which has a similar symptom.
Comment 5 Han-Wen Nienhuys 2005-06-02 11:24:22 UTC
Hi,

only now I notice that this is actually documented, 

"ps2pdf will sometimes convert text to high-resolution bitmapped fonts rather
than to embedded outline fonts. This will occur when the PostScript file uses
Type 3, CIDFontType 1, or CIDFontType 4 fonts, or Type 0 fonts that reference
any of these; it may also occur in some cases if the input file uses fonts with
non-standard encodings, or in some other rare cases. "

I was wondering whether there are workarounds, whether a fix is planned, or how
much work a fix would be.

(Hey, is this eligible for the $1000 bughunt ? :-)

I tried to changing the coding vector on the fly, but then other glyphs get
bitmapped again.
Comment 6 Igor Melichev 2005-06-14 09:10:15 UTC
See Comment #6 of the bug 688017.

*** This bug has been marked as a duplicate of 688017 ***