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 Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1438494

Title:
  ghostscript fails to correctly substitute cidf fonts

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/poppler-data/+bug/1438494/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to