Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2016-03

PDF generator, try 2

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Michael Van Canneyt

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.

Reply by email

Ralf Quint
to Michael Van Canneyt
Michael Van Canneyt wrote 21 lines
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)

Looks fine on an up to date Acrobat Reader DC (15.10.2006) as well, both on Windows (8.1, 10 Pro Insider) and Mac OS X (10.11.4)

Ralf

---
This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus

Reply by email