Bug#320786: gs-gpl: pdfwrite doesn't embed type 42 fonts
Package: gs-gpl
Version: 8.15-2
Severity: normal
(This bug has been reproduced on gs-esp 7.07, gs-gpl 8.15-2, gs-afpl
8.15-2, gs-afpl 8.51 (upstream) and gs-afpl CVS, but gs-gpl looks the
most active, so I'm sending it here :-) )
I have a very large (~200MB) PostScript file originally exported from
PageMaker 6.5, which I'd like to turn into PDF. However, this file also
contains a few TrueType fonts which I'd like to embed in the PDF
(subsetted), since they don't look very much like the 13 included
standard fonts. However, that simply doesn't happen.
The fonts _are_ there alright -- if I show the .ps file in gv, they get
rendered perfectly -- but even with -dDEBUG I can't find the slightest
hint that gs recognizes them. I've tried various flags; my current set
goes something like this:
gs-gpl -dPDFSETTINGS=/printer -dCompatibilityLevel=1.4
-dMaxSubsetPct=100 -dSubsetFonts -dEmbedAllFonts -dNOPAUSE -dBATCH
-sDEVICE=pdfwrite -sOutputFile=out.pdf -c .setpdfwrite -f in.ps
but pdffonts still claims the fonts aren't included (and gv, xpdf and
acroread agree):
name type emb sub uni object ID
------------------------------------ ------------ --- --- --- ---------
|______TTE155C6B8T00 TrueType no no no 12 0
|______ArialMT Type 1 no no no 16 0
|______TimesNewRomanPSMT Type 1 no no no 9 0
|______TTE18B8428T00 TrueType no no no 29 0
|______TimesNewRomanPS-ItalicMT Type 1 no no no 25 0
|______TTE15655E8T00 TrueType no no no 27 0
|______Palatino-Roman Type 1 no no no 56 0
(gs-esp gives me more fonts and different names, presumably since it's
an older version.)
The only luck I've really had is specifying all the TTE names manually
in AlwaysEmbed -- in this case, they are listed as embedded (and
subsetted), but are rendered as bitmaps, which doesn't really do it :-)
Any good ideas? Everything I've found on the 'net says that this is just
supposed to work transparently, and by looking at the PostScript file,
it really looks like it defines lots of characters for the given TTE*
fonts (I'm no PostScript guru, though). I can give you one of the PostScript
files if you need it, but be aware that even the smallest one is quite
large (~85MB after bzip2).
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11.8
Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8)
Versions of packages gs-gpl depends on:
ii gs-common 0.3.7 Common files for different Ghostsc
ii libc6 2.3.5-1 GNU C Library: Shared libraries an
ii libgimpprint1 4.2.7-10 The Gimp-Print printer driver libr
ii libice6 6.8.2.dfsg.1-4 Inter-Client Exchange library
ii libjpeg62 6b-10 The Independent JPEG Group's JPEG
ii libpaper1 1.1.14-3 Library for handling paper charact
ii libpng12-0 1.2.8rel-1 PNG library - runtime
ii libsm6 6.8.2.dfsg.1-4 X Window System Session Management
ii libx11-6 6.8.2.dfsg.1-4 X Window System protocol client li
ii libxext6 6.8.2.dfsg.1-4 X Window System miscellaneous exte
ii libxt6 6.8.2.dfsg.1-4 X Toolkit Intrinsics
ii xlibs 4.3.0.dfsg.1-14 X Keyboard Extension (XKB) configu
ii zlib1g 1:1.2.2-8 compression library - runtime
Versions of packages gs-gpl recommends:
ii gsfonts 8.14+v8.11+urw-0.2 Fonts for the Ghostscript interpre
pn psfontmgr <none> (no description available)
-- no debconf information
Reply to: