[pdftex] Reducing the number of font descriptors (was: Font subsetting with PDFs from InDesign?)
Martin Schröder
martin at oneiros.de
Sat Jul 12 01:20:14 CEST 2008
2008/7/11 Thanh Han The <hanthethanh at gmail.com>:
> for pdftex it's rather difficult. If you want to merge font
> descriptors, you must:
>
> - make sure the encodings/charwidths/... are the same;
> - decode page contents and parse them, and rename the font tags if
> needed to avoid collision;
> - maybe a few things more...
>
> since it's hard to get this right, it's very unlikely pdftex will
> support this, since we want pdf inclusion to be stable.
Agreed.
I'm thinking about a stand alone application that can identify and
merge identical fonts (same basefont, same fontdescriptor etc.).
At least for pdffonts and Acrobat two fonts are equal only if the
entries in /Resources -> /Font point to the same object.
Best
Martin
More information about the pdftex
mailing list