Skip to content

Releases: unidoc/unipdf

v3.26.0

31 May 20:45
5d2a1d0
Compare
Choose a tag to compare

This minor release of UniPDF contains the following changes:

  • [UP-206] Add styled paragraph text vertical align options
  • [UP-215] Resume decoding CCITTFax image upon failure

v3.25.0

11 May 14:04
9b5d3d5
Compare
Choose a tag to compare

This minor release of UniPDF contains the following changes:

  • [UP-207] Composite font widths fix
  • [UP-210] Fix graphic state
  • [UP-211] Fix GetNamedDestinations and add GetNameDictionary method
  • [UP-208] Add character horizontal scaling support for styled paragraph

v3.24.0

24 Apr 12:51
bf2598d
Compare
Choose a tag to compare

This minor release includes:

  • Add OpenAction to PdfWriter to support Javascript action on document open
    Example: pdf_add_javascript_docopen.go
  • Add NewPdfReaderFromFile for more convenient opening files with options
  • Flatten bugfix for form with inherited flags [UP-209]

v3.23.0

17 Apr 14:30
0c9fc82
Compare
Choose a tag to compare

This minor release includes:

  • Add text overflow constants
  • Integrate text overflow options in the styled paragraph component
  • Add page finalize callback function for creator instances
  • Minor clip path calculation improvement

v3.22.0

07 Apr 20:59
fd6bcef
Compare
Choose a tag to compare

This minor release of UniPDF has the following updates:

  • Add model.PdfPage.Size method
  • Improve text rendering [UP-188]
  • Fix crash on font subsetting. Fixes #451

v3.21.0

24 Mar 09:04
71d557d
Compare
Choose a tag to compare

This minor release of UniPDF has the following updates:

  • Added outline size and outline color support for creator text chunks (which are the building blocks of styled paragraphs). [UP-194]
  • Added CMYK color support for all components in the creator package. [UP-194]
  • Improved color support for all the geometric shapes defined in the contentstream/draw package. [UP-194]
  • Improved Type 3 font text extraction support [UP-118]
  • PageProcessCallback added with error passback for PdfReader.ToWriter of PageCallback [UP-193]
  • Concurrency map access fixes [USD-60]
  • Fix core.DCTEncoder.EncodeBytes for GrayScale images [UP-192]

NOTE: all the model.PdfColorDeviceRGB fields have been changed to the model.PdfColor interface in order to support colors defined in different color spaces (e.g. model.PdfColorDeviceRGB, model.PdfColorDeviceGray, PdfColorDeviceCMYK, etc.).

Most code bases should not be affected and everything should continue to work without any changes. However, due to the use of an interface, there is a low chance of a breaking change in the draw package where the methods of the model.PdfColorDeviceRGB struct are used in the context of the shape color fields (e.g. Rectangle.FillColor.R()) will have to be type asserted (Rectangle.FillColor.(*model.PdfColorDeviceRGB).R()).

v3.20.0

16 Mar 15:30
f64d0b8
Compare
Choose a tag to compare

This new minor release includes:

  • Fixes for the concurrent read/write on the font maps [UP-173]
  • Add text rise support for styled paragraphs [UP-167]
  • Improve poly-shapes support in creator package
  • Metered license fixes
  • Account for page rotation when rendering PDF files [UP-165]
  • Resolve ColorSpace subtype reference to avoid error [UP-178]
  • Add global PDF rotation [UP-175]

v3.19.1

22 Feb 15:25
4f172e7
Compare
Choose a tag to compare

New patch release of UniPDF v3.19.1 includes:

  • Workaround to make newly released Go 1.16 compile
  • Rendering improvements, handling of hard image masks
  • Rendering improvement: handle invisible text in rendering mode
  • Fix styled paragraph splitting on table page wrap

v3.19.0

11 Feb 16:51
2183fc2
Compare
Choose a tag to compare

This new minor release includes:

  • Multiple image handling optimization fixes [UP-120]
  • Rendering: add option to control rendered image sizes [UP-159]
  • Rendering performance improvements [UP-144]

v3.18.0

26 Jan 14:52
5ddaeee
Compare
Choose a tag to compare

UniPDF v3.18.0 contains new features and multiple fixes.

New features

Improvements and fixes.

  • Fix duplicate words in text extraction [UP-135]
  • Rendering improvements and test suite revamped
  • Fixes in text decoding (extractor)
  • Update text extraction test [UP-147]