[fpc-pascal] PDF generator, try 2

Michael Van Canneyt michael at freepascal.org
Thu Mar 31 16:02:28 CEST 2016


Hello

In revision 33401 of FPC subversion, a lot of fixes have been committed for Font
handling in the PDF generator: e.g. Unicode fonts should now render correctly.

The test program generates the following PDF:

http://www.freepascal.org/~michael/test.pdf

Page 1 looks as follows on my system:

http://www.freepascal.org/~michael/pdftest.png

The output has been tested for correct rendering in the following applications:

   Firefox native viewer (Linux)
   Acrobat Reader 10 (Windows)
   Foxit Reader (Windows)
   Xpdf (FreeBSD)
   Evince (FreeBSD)
   The GIMP (FreeBSD)
   Google Drive viewer
   LibreOffice Draw (linux)
   Okular (linux)

The file was also generated on various platforms to make sure all platforms
handle the generating correctly (locales, code pages etc.).

If you find any more errors (let's hope not), please let me know.

Enjoy,

Michael.



More information about the fpc-pascal mailing list