I am exporting a page from a PDF as an image using the PngDevice object. Generally this works fine except when I use a font that doesn’t exist on the computer. When performing the conversion on a Windows computer, a default font gets substituted. When performing the conversion on a linux computer the text doesn’t get rendered in the image.
Is there a way I can specify the default font to use when on Linux?
P.S. If I use a pdf with fonts that exist on the linux computer then it works as expected.
Hi Brian,
Thanks for contacting support.
Instead of installing fonts on target machines (Windows or Linux), it’s better to embed fonts inside the PDF file so that when viewing or manipulating it over machine which does not have font installed, there will not be any issue related to fonts because they will be embedded inside the PDF. Please follow the instructions Embedding Fonts in an Existing PDF file
In case the problem still persists, please share the resource files so that we can test the scenario at our end. We are sorry for your inconvenience.
It appears it was an issue with v 4.5. I have updated to v 4.6 and the issue doesn’t occur now.
Hi Brian,
We are glad to hear that your problem is resolved. Please continue using our API’s and in the event of any further query, please feel free to contact.