Open HTML to PDF v1.0.5 Release Notes

  • 🔒 SECURITY: #609 Updates Apache Batik SVG renderer to latest version to avoid security issue. If you are using this project to render untrusted SVGs (advised against), you should update immediately. Thanks a lot @halvorbmundal.

    IMPORTANT: The fast renderer is now the default in preparation of removing the old slow renderer. To temporarily use the slow renderer, you can call the deprecated method builder.useSlowMode() (PDF output only).

    IMPORTANT: #543 This version stays on PDFBOX version 2.0.20 due to a bug with non-breaking spaces in version 2.0.21. Please make sure version 2.0.21 is not on your classpath. This bug has been fixed in the upcoming 2.0.22.

    • #544 Code to create a website for pre-canned PDF templates in thymeleaf and raw XHTML format. Check out the template website to preview templates.
    • 🔌 #533 Barcode plugin. Very useful PR supplied by @syjer. Barcode plugin docs.
    • 🚚 #521 Move Java2D image output to fast renderer and general improvements. Java2D image output docs.
    • 9ffd0e #568 Filter out problematic characters that are visible in some fonts but should not be such as soft-hyphen. Thanks @StephanSchrader.
    • #587 Fix for white-space: nowrap cutting off instead of wrapping. Thanks @vipcxj for finally fixing via PR.
    • 🔌 #577 Add foreground PDF drawer plugin (useful especially for watermarks). Thanks @rototor for PR and @sillen102 for persisting.
    • #566 Rename baseUri arg to baseDocumentUri and improve javadoc to avoid confusion. Thanks for reporting @NehalDamania.
    • ⚡️ 801780 Update junit test dependency to 4.13.1 to avoid security scanner warnings (the specific security problem did not impact this library).
    • #553 Fix for ContentLimitContainer causing NPEs when negative margins are used. Thanks for reporting @adilxoxo.
    • ⚡️ #552 Optimize the log formatter for j.u.l logging. Thanks for the impressive PR @syjer.
    • #542 Improve list-decoration placement. Thanks for PR @syjer and reporting @mndzielski.
    • #458 Fix for list-decorations being output (clipped) in page margin area.
    • 🚚 #525 Remove unused schema/DTDs. Significantly reduces size of jar. Thanks for PR @syjer.
    • #592 Allow unit (px, cm, em, etc) values in the width/height attributes of linked SVG images. Thanks @DanielWulfert.
    • #594 #458 Fix for more repeating content and PDF/UA crash. Thanks @ThomHurks, @fungc.
    • #599 Fix RuntimeException ocurring on InlineText.setSubstring. Thanks @LAlves91.
    • #605 Fix to make justification work with surrogate pairs. Thanks @EmanuelCozariz.
    • 👷 #601 Move CI to Github actions. Thanks @syjer.
    • 👍 #597 Generalize data uri support. Thanks @syjer, @Leostat86.
    • #613 Allow adding fonts for SVG, MathML as files instead of input streams to avoid JDK bug. Thanks @syjer, @sureshkumar-ramalingam, @olayinkasf.