diff --git a/CHANGELOG.md b/CHANGELOG.md index 4140f08d6..5336a3f5e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ All notable changes to this project will be documented in this file. - #1336 AS3 direct editation - Regexp / character escaping - #1615 Turning off Checking for modifications disables SWF loading - #1100, #1123, #1516 AS1/2/3 direct editation - comma operator +- #1618 Export to PDF selectable text escaping and text size ### Changed - #1616 Close SWF menuitem is last in the context menu diff --git a/lib/gnujpdf.jar b/lib/gnujpdf.jar index 3b5f6cdca..0c096ac85 100644 Binary files a/lib/gnujpdf.jar and b/lib/gnujpdf.jar differ diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/exporters/FrameExporter.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/exporters/FrameExporter.java index f7f16614b..b86db8583 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/exporters/FrameExporter.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/exporters/FrameExporter.java @@ -607,7 +607,7 @@ public class FrameExporter { PDFGraphics g2 = (PDFGraphics) g; if (existingFonts.containsKey(rec.fontId)) { - g2.setExistingTtfFont(existingFonts.get(rec.fontId)); + g2.setExistingTtfFont(existingFonts.get(rec.fontId).deriveFont((float) textHeight)); } else { FontExporter fe = new FontExporter(); File tempFile;