Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

useFont/addFont with PDFontSupplier (FSSupplier<PDFont>) #384

Merged
merged 3 commits into from
Sep 16, 2019

Commits on Sep 6, 2019

  1. Merge pull request #4 from danfickle/open-dev-v1

    Update to latest official
    DSW-PS authored Sep 6, 2019
    Configuration menu
    Copy the full SHA
    e0bb3a8 View commit details
    Browse the repository at this point in the history
  2. added addFontWithSupplier

    This method allows to specify a FSSupplier<PDFont> that can either load
    a PDFont or serve an already loaded one to cut down on duplicate fonts/
    subsets if the user is also writing directly to the PDDocument with some
    of the fonts used in the html.
    ps authored and ps committed Sep 6, 2019
    Configuration menu
    Copy the full SHA
    9385d7c View commit details
    Browse the repository at this point in the history

Commits on Sep 9, 2019

  1. useFont(PDFontSupplier) in Builder, addFont(PDFontSupplier) in Renderer

    Made PDFontSupplier (private static class in PdfBoxFontResolver) to
    actual class that can be subclassed if needed.
    
    Would have prefered to have a FSSupplier<PDFont> method in
    PdfBoxFontResolver but due to type-erasure error that is not possible.
    
    Added useFont(PDFontSupplier, ...) method to PdfRendererBuilder
    ps authored and ps committed Sep 9, 2019
    Configuration menu
    Copy the full SHA
    6d1f9bc View commit details
    Browse the repository at this point in the history