desktop-packages team mailing list archive
-
desktop-packages team
-
Mailing list archive
-
Message #152419
[Bug 1438494] Re: ghostscript fails to correctly substitute cidf fonts
Does this bug also occur if there are no embedded fonts in a pdf? Because my canon scanner seems to produce pdfs without embedded fonts, at least pdffonts shows no fonts:
$ pdffonts SCN_0002.pdf
name type encoding emb sub uni object ID
------------------------------------ ----------------- ---------------- --- --- --- ---------
and i get a very similar error when trying to minimize the filesize
with ghostscript:
$ gs -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/printer -sOutputFile=out.pdf SCN_0002.pdf
GPL Ghostscript 9.16 (2015-03-30)
Copyright (C) 2015 Artifex Software, Inc. All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Processing pages 1 through 1.
Page 1
**** Error reading a content stream. The page may be incomplete.
**** File did not complete the page properly and may be damaged.
**** This file had errors that were repaired or ignored.
**** The file was produced by:
**** >>>> MP540 series <<<<
**** Please notify the author of the software that produced this
**** file that it does not conform to Adobe's published PDF
**** specification.
With the minimal gs version from
http://www.ghostscript.com/download/gsdnld.html its working flawlessly.
i attached a pdf created by my scanner to this comment.
(i m using ubuntu 15.10)
** Attachment added: "SCN_0002.pdf"
https://bugs.launchpad.net/ubuntu/+source/poppler-data/+bug/1438494/+attachment/4532873/+files/SCN_0002.pdf
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to poppler-data in Ubuntu.
https://bugs.launchpad.net/bugs/1438494
Title:
ghostscript fails to correctly substitute cidf fonts
Status in poppler-data package in Ubuntu:
Triaged
Bug description:
I reported this bug first with ghostscript
(http://bugs.ghostscript.com/show_bug.cgi?id=695874), but it is
apparently a packaging issue.
The general issue is that when there is a CIDF font in a .pdf that is
not embedded in the document, ghostscript will stop processing the
file at that font (see the file attached to the ghostscript bug). The
packaging issue is that CIDF fonts that are not on the system are in
the default Ubuntu cidfmap file.
System info is:
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.10
Release: 14.10
Codename: utopic
$ ghostscript --version
9.14
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/poppler-data/+bug/1438494/+subscriptions
References