Skip to content

Releases: HanGyeolee/AndroidPdfWriter

v1.1.3

Choose a tag to compare

@HanGyeolee HanGyeolee released this 02 Dec 10:34

Feature #10

  • Use temporary files for image compression or font compression to prevent OOM from occurring as much as possible.
    When I try to write on pdf, I get some data for a moment and write it.

  • Image Graphic State Restore Creation Error
    It was just written wrong...

Full Changelog: v1.1.2...v1.1.3

v1.1.2

Choose a tag to compare

@HanGyeolee HanGyeolee released this 30 Nov 06:39

Feature #9

  • Supports transparent background images.
    By representing the alpha value as a soft mask image, a black line can be drawn at the edges for small images.
    If you also attempt to draw the Xml Vector Drawable with PDFimage, change it to a bitmap with an alpha value of at least 256x256 px.
  • Supports multiple PDFBuilder
    To address the issue of being unable to draw multiple PDFs simultaneously due to Zoomable Single-Tone objects, refer to the size of the current PDF through the PDFPageLayout object.

Full Changelog: v1.1.1...v1.1.2

v1.1.1

Choose a tag to compare

@HanGyeolee HanGyeolee released this 27 Nov 12:36
36645aa

Feature #8

  • PDFImage Resource Issue
    First of all, all drawable resources were converted into bitmaps.
    If the minimum size is not specified for any drawable, it will be converted to a bitmap with 512 pixels and will not support a transparent background.
    Similarly, transparent backgrounds in png images are also not supported.
  • True Type Font glyph Issue
    Sometimes there is a problem that some composite glyphs are not shown properly.
    When proceeding with font sub-setting, the reference glyph ID of the composite glyph was changed from the original ID to the sub-set ID.
  • Layout Height Issue
    We solved the problem of gap when calculating the height of the component in the layout.
    When changing the layout height due to Component, we solved the infinite loop issue due to the floating point difference in units below 1E-4. All page nations have been removed; instead, all components are truncated and represented when they are between pages (especially image components)

Full Changelog: v1.1.0...v1.1.1

v1.1.0

Choose a tag to compare

@HanGyeolee HanGyeolee released this 25 Nov 08:24

Feature #6

  • Binary PDF
    Now save all components as binaries rather than bitmaps. PDF version 1.4. Apply FlatDecode to all streams as much as possible to compress.
  • Default Base14 font
    Characters in the range of 0x50 to 0xFF (including ASCII) can be used without font embeddings.
  • Font Embedding
    Embedding all fonts into UTF16BE. Compresses fonts internally with support for font sub-setting.
  • Image Compression
    If the size of the component is five times smaller than the size of the image, the image is small and embedded. if not, it embeds the original.

Full Changelog: v1.0.4...v1.1.0

Release v1.0.4

Choose a tag to compare

@HanGyeolee HanGyeolee released this 24 Jan 06:47

Feature #5

  • permission
    Write external storage permission added
  • PDFImage
    PDFImage Sizing Error Fixed
    The width of the image in the layout is unconditionally applied as the horizontal length of the parent.

Full Changelog: v1.0.3...v1.0.4

Release v1.0.3

Choose a tag to compare

@HanGyeolee HanGyeolee released this 23 Jan 04:17

Feature #4

  • Save
    Troubleshooting API specific issues with PDF file storage
    API versions currently tested are API 26 ~ 33.
    This is 94.9% of all devices.

Full Changelog: v1.0.2...v1.0.3

Release v1.0.2

Choose a tag to compare

@HanGyeolee HanGyeolee released this 22 Jan 05:46

Feature #3

  • PDFText
    Custom font styles are now available.

Full Changelog: v1.0.1...v1.0.2

Release v1.0.1

Choose a tag to compare

@HanGyeolee HanGyeolee released this 22 Jan 05:08

Feature

  • Expansion
    Function overloading was applied to make the library more diverse.
    When a PDF file is saved, the content Uri of the file is returned.

Full Changelog: v1.0.0...v1.0.1

Release v1.0.0

Choose a tag to compare

@HanGyeolee HanGyeolee released this 21 Nov 15:12

Feature

  • PDFComponent
    Change explict casting to Math.round between int and float
  • Image
    Resolve Image Anchor Error
    The size of the image in GridLayout is applied when there is only one image in the column. If a larger component exists in the same column, it will be fired according to the size of that component.
  • PDFGridLayout
    Resolve error about GridLayout ,where empty components doesn't have width in, with Span
    Cells in the grid layout are not cut between pages. If there is a situation to be drawn between pages, it will be drawn on the next page.
  • PDFBuilder
    Add paper size enumeration based on reference paper sizes dimensions provided by IBM.
    The unit of Paper Enum is a pixel.
    Can select save folder.

Full Changelog: v0.0.3...v1.0.0

Release v0.0.3

Choose a tag to compare

@HanGyeolee HanGyeolee released this 20 Nov 12:40

Feature

  • Text
    Add H4, H5, H6 tags
  • PDFGridLayout
    Support Row-Span and Column-Span
  • PDFBuilder
    Default quality is 60, and Default Dpi is M5, as 360
    Add a value that is a multiple of 2 to dpi class
  • BinaryPDF
    Can change image compress quality.

Full Changelog: v0.0.2...v0.0.3