Some facts:
- I have a licensed font that cannot be embedded in the PDF I have created.
- The only text in the PDF is found in editable form fields. These fields' 'font' property is set to the licensed font.
I am programmatically filling in these form fields with a dynamically generated
.fdf
file usingpdftk
pdftk infile.pdf fill_form data.fdf output outfile.pdf flatten
- The
flatten
argument causes the form fields in the PDF to be converted to non-editable text.
I'm looking for a way to get this text to display in the licensed font without actually embedding the font in the PDF.
I have installed the font on the server that is generating the PDF. Is there a way to, for example, convert the text while displayed in the licensed font-face, to a static/flattened image?