]> gerrit.simantics Code Review - simantics/platform.git/commitdiff
Fonts are now embedded in diagram, wiki, etc PDF exports. 60/360/1
authorTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Fri, 10 Mar 2017 16:27:03 +0000 (18:27 +0200)
committerTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Fri, 10 Mar 2017 16:27:03 +0000 (18:27 +0200)
A lot of general cleanup/refactoring for the old "Diagrams to PDF"
export wizard backend implementation. Consolidated some page numbering
code into org.simantics.export.core.pdf.PageNumbering.

Also consolidated iText FontMapper initialization into
org.simantics.export.core.pdf.FontMapping. It turned out that the key to
getting iText to embed fonts for text rendered into PDFs was that the
FontMapper used needs to have all system fonts registered into it.

Also fixed PDF export page number positioning in the more generic PDF
export wizard.

refs #7084

Change-Id: Ife4f96889659834a780566152f63e9e1ccd4979f


No differences found