[OS X TeX] Merging fonts in PDF files produces with XeTeX/pdfTex/LuaTeX

roberto avanzi roberto.avanzi at online.de
Sun Jul 28 17:58:08 CEST 2013


On Jul 28, 2013, at 17:13 , Peter Dyballa <Peter_Dyballa at Web.DE> wrote:

> Am 28.07.2013 um 16:27 schrieb roberto avanzi:
> 
>> [2] how to merge the fonts (under the possibly dangerous assumption that two fonts with the same name are actually the same font, which could be wrong if one included a PDF file from a different machine, say with an older/newer version of the same font).
> 
> A font is not the same, even when it has the same name. None of the fonts that need embedding is embedded completely, only the subset of the characters used is. So you would need to combine the manifold of subsets to one bigger subset.

Yes, I know that the fonts are subsetted.  So one should re-merge them.  Even if keeping them separated if the encoding is different.

> Next item is the encoding used. When "Identity-H" is used as encoding, then actually no encoding or the Unicode encoding is used, that was is recorded in the CMAP – for horizontal typesetting (there is also vertical typesetting).

pdffonts tells me that Unicode is used, if I am not mistaken.

> I think a "distiller" does the job of reorganising this disparate patches.
> By not using exotic fonts but Times, Helvetica, Courier, Symbol, Zapf Dingbats you can save some storage – none of these fonts will get embedded. Or, if look is important for you, why not create a PDF from a (La)TeX source file with a mixture of text and PGF/TiKZ images?

Well, I can always program a switch to either include the YiKZ source and comile it or include the graphic. Only for the final version.


 Roberto


More information about the macostex-archives mailing list