[pdftex] inclusion of PDF file fails

Werner LEMBERG wl at gnu.org
Mon Jan 23 14:14:47 CET 2012


From: Thanh Han The <hanthethanh at gmail.com>
Subject: Re: [pdftex] inclusion of PDF file fails
Date: Mon, 23 Jan 2012 11:32:38 +0100

> pdftex considers two fonts are the same if they have the same
> /FontName (/UniqueID is not used).
> 
> comparing font version is certain a better way to do it, but the
> change is not something like a few lines of code. pdftex must parse
> the font file (from disk) and the font embedded in the pdf. Both are
> doable but not trivial due to the way pdftex handles fonts now.
> 
> In the meantime, perhaps setting \pdfinclusioncopyfonts=1 (as the
> default value at engine level) is the safe thing to do (with the
> risk that some people will blame pdftex for increasing pdf output
> size).

Well, for the PDF manuals of LilyPond, this isn't an option since we
have a few thousands of included PDFs.


    Werner


More information about the pdftex mailing list