Page 10 of 10

Re: HMG_HPDF - Export to PDF made easy...

Posted: Fri Dec 14, 2018 3:15 pm
by edk
I added support for Helvetica, Courier and Times-Roman in UTF-8 encoded documents. The HaruPDF library for UTF-8 encoded documents only allows to use TTF. I exchange the Helvetica, Courier and Times-Roman fonts for their similar TTF equivalents (Arial, Courier New, Times New Roman).
Since the _HMG_HPDF_SeekTTFFont() function reads the declared decoding of the document with the SET HPDFDOC ENCODING TO command, it should be called only after this declaration. Otherwise, it will not "know" the encoding of the PDF document.
demo.7z
(6.82 KiB) Downloaded 252 times
Bez tytułu2.png
Bez tytułu2.png (14.24 KiB) Viewed 1343 times
Bez tytułu.png
Bez tytułu.png (12.75 KiB) Viewed 1343 times