Releases: unidoc/unipdf
v3.26.1
v3.26.0
v3.25.0
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
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
v3.22.0
v3.21.0
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 forPdfReader.ToWriter
ofPageCallback
[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
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
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