Hello,
I have a PDF which has an embedded font in it. I have a requirement to swap this embedded font for another, alternative font.
The fonts are very similar so there will be no spacing / alignment issues.
Is this direct font substitution possible using DynamicPDF? If so, can you provide me with an example?
Thanks,
- Chris
Font Substitution
Re: Font Substitution
Support · Dec 17, 2010Hello Chris,
It is not possible to directly embed or substitute fonts with already existing PDF document using our any of DynamicPDF products. You can only add fonts by setting them to some page elements of our DynamicPDF Generator API. For example if you add any text using Label page element and you can set any required font to that Label using the Font property and when the PDF is generated the font will be embed with the PDF document.
Thanks,
ceTe Software Support Team.
Re: Font Substitution
Forum member · Dec 17, 2010Thanks,
So, would it be possible to open the PDF and iterate through every page element switching the font to a different one before re-rendering the PDF?
- Chris
Re: Font Substitution
Support · Dec 17, 2010Hello Chris,
With the Generator for .NET you will not be able to do anything with an existing PDF, you will only be able to generate a PDF from scratch.
Merger for .NET is the product you would need to be able to manipulate the existing PDF. In your case even with Merger you will not be able to change the properties (fonts, font size etc ) of the existing page elements so to answer your question, it is not possible to change the font of the existing page elements and re-render the document. With Merger you will be able to fill/read the form field values, merge PDF documents, add new page elements to existing PDF etc. If you are interested in a full feature list for Merger please refer to this link: http://www.DynamicPDF.com/Products/DynamicPDFForNET/Merger/FeatureChart.csp
Thanks,
ceTe Software Support Team.