Rendering PDF Files from Lotus Forms with Correct Fonts
owenc 1000003T00 Visits (3598)
Recently, I blogged about creating a PDF file from a Lotus Form. Go to this link for more on that:
Extracting a PDF file from a Lotus Form Using the Lotus Forms API
Also recently, I was faced with a problem where the PDFs I created on Windows were fine but on Linux they were not. Those PDFs had text that was over-lapping onto other text in the PDF
The root of the solution is documented in this Lotus Forms Tech Note:
The fonts used in the Forms (Arial and Tahoma) were not in either of the font path directories in Linux that the Translator Server searches to locate needed fonts. The directory paths are in the tran
<comment>A list of directories containing fonts (comma sepa
I copied the Arial and Tahoma font files from Windows from directory c:\windows\fonts (an Arial font delivered in a Windows distro is different than one delivered in a Linux distro) to Linux and put them in the Translator Server directory: /usr
I also made the file names all lower case and made sure there was no white space in the file names (Linux requirement).
Then I bounced the Translator Server.
That fixed it.