From: Tuukka Lehtonen Date: Fri, 10 Mar 2017 16:27:03 +0000 (+0200) Subject: Fonts are now embedded in diagram, wiki, etc PDF exports. X-Git-Tag: v1.28.0~64 X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=9d4a145fef9bcec16e3d1f1477894cba6429b9c4;hp=9d4a145fef9bcec16e3d1f1477894cba6429b9c4;p=simantics%2Fplatform.git Fonts are now embedded in diagram, wiki, etc PDF exports. 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 ---