New Forum | Previous | Next | (P-PDF) Developers
Topic: How to: Subset a font in a PDF on Cos-level
Conf: (P-PDF) Developers, Msg: 84977
Date: 3/27/2003 04:31 AM
How to: Subset a font in a PDF on Cos-level
I want to subset a font in PDF doc and add it as a resourse(with given ID) working on Cos level. For this purpose I must have FontFile parameter to be used in dictionary. The only way I know how to get it is to subset font on PDE level and then get the parameter from created font by considering it as a Cos object. But working on PDE level considerably decreases speed so I want to reduce using that level. To obtain the universal FontFile parameter I tried embedding on PDE level once and then I used FontFile parameter in any cases when I wanted to subset that font. But created so output file is much greater than created by means of PDE level (because of the fact that I embedded not only used but all characters).
Please answer on one of the following questions:
1-Subset font in whole PDF document as resourse with given ID (if it is possible)? Level does not matter.
2-Subset font in a page as resourse with given ID without using PDE level or using it minimally?
3-Get from FontFile parameter obtained from the embedded font FontFile parameter to be used for subset(How to get the part corresponding to used characters if it is possible)?