AEM Forms 6.2 JEE - Embedding Fonts
Hi,
I have a PDF template that uses a custom font let's call it XYZ. Data is being added to this form via the PDF output service. When viewed on a machine that doesn't have XYZ installed, the font is not present. I would like to embed XYZ into the generated PDF document as I do not expect users to have the font installed as a prerequisite of viewing my documents! I think this maybe possible as I can see embed options on the server, but can't find detailed documentation online.
Below is what I have tried so far:
The font is installed on the windows machine the server is running on and is also available in the aem forms/font directory referenced within the settings of adminui.
I have also tried to "always embed" the fonts in a couple of places
Home > Services > PDF forms
Font Embedding Settings
Always Embed Fonts: XYZ
and I also tried adding a configuration under:
Home > Services >PDF Generator > Adobe PDF Settings
Always embed: XYZ
The always embed fonts setting is also check here, and I set this configuration to be the default.
I have restarted the server after making these changes.
Does anyone know the steps to embed a custom font?
Thanks,
Jim
