I am using PHP and GhostScript to convert Word files to PDFs and this works great. Now we have introduced a custom font present in some Word files that I need to embed in the pdf or else the font will appear skewed.
I installed the fonts on the server (WinServer 2008 r2) by right-clicking the files and selecting “Install”. However, there are several issues preventing me from embedding the font.
- The custom font once installed does not display a path to the file or the file name on the file system which is information I need to pass to GhostScript to embed the font.
- In Control Panel > Fonts, in the “Font Embeddability” column it says “Installable” while all the other fonts say “Editable”. The “Font Type” column lists the custom font as “Open Type”.
Since I don’t know the file name to add to this “-sFONTPATH=c:/Windows/fonts”, I can’t reference the file to embed.
Any recommendations will be greatly appreciated.