Unidoc Versions Save

This repository has moved! https://github.com/unidoc/unipdf

v3.0.0-rc.1

5 years ago

This release is in preparation for the release of v3.0.0 stable.

Table headings and subtable support in the creator

  • #390 Add table headers support (#390) (@adrg)
  • #400 Implement AddSubtable method for the Table component (#400) (@adrg)

Digital signature enhancements

  • #414 Add custom signing function for the adobeX509RSASHA1 signature handler (#414) (@adrg)

Multiple performance enhancements and a lazy loader

  • #409 NewPdfReaderLazy supports reading PDF files in lazy-load mode (#409) (@gunnsth)
  • #394 Image loading performance enhancements [v3] (#394) (@gunnsth)
  • #424 Cross reference search speed improvements [v3] (#424) (@gunnsth)

Compatibility fixes

  • #419 Set Pages dict Type if not set (#419) (@adrg)
  • #413 Fix invalid pad length [v3] (#413) (@gunnsth)
  • #399 Fix for XRef stream parsing when last object not included (#399) (@gunnsth)
  • #392 Parsing compatibility fixes [v3] (#392) (@gunnsth)

Other

  • #408 Expand document information dictionary - v3 branch (#408) (@becoded)
  • #426 Golint contentstream draw (#426) (@adrg)
  • #422 Fix contentestream package golint notices (#422) (@adrg)
  • #410 Add split e2e test with memory checking (#410) (@gunnsth)
  • #407 Styled paragraph link rotation (#407) (@adrg)
  • #404 Subtable row height (#404) (@adrg)
  • #402 Add Rows and Cols methods to the Table component (#402) (@adrg)
  • #397 No break space character metrics (#397) (@adrg)

v3.0.0-alpha.3

5 years ago
  • #367 Optimize WriteString method for primitive objects (@adrg)
  • #366 Add WriteString method benchmarks for primitive objects (@adrg)
  • #363 Add image extraction options (@adrg)
  • #360 Creator chapter hierarchy (@adrg)
  • #358 Signature refactoring (@adrg)
  • #356 Fixed bug in reading DecodeParems seen with CCITT images in gov.uscou… (@peterwilliams97)
  • #355 Fix appender AcroForm loading (@adrg)
  • #354 Signature appearance (@adrg)
  • #334 WIP: Initial digital signature support (v3) (@gunnsth, @a5i, @adrg)
  • #352 Minor code documentation improvements (@adrg)
  • #350 Digital signatures refactoring (@adrg)
  • #346 Implement CCITTFaxDecode (@nkryuchkov)
  • #326 Reimplement adaptive encoding (@dennwc)
  • #347 Reduce memory thrashing when optimising large PDFs (@c2h5oh)
  • #343 Signature support refactoring (@adrg)
  • #341 Remove dot imports (@adrg)

v3.0.0-alpha.2

5 years ago
  • #339 release v3.0.0-alpha.2 (@gunnsth)
  • #338 Character spacing (@adrg)
  • #337 Fixed a buffer overrun in Indexed colorspaces and added a regression test for it. (@peterwilliams97)
  • #336 Add text style rendering mode (@adrg)
  • #335 V3.imagemark (@peterwilliams97)
  • #330 Extract images with position in package extractor (v3) (@gunnsth)
  • #329 Integration test coverage (@gunnsth)
  • #331 Compression issues (@adrg)
  • #328 Corrected order of matrix multiplication for cm operator. (@gunnsth, @peterwilliams97)
  • #320 Fix for PNG predictor issues. Fixes #313. (@gunnsth)
  • #321 Add Creator support for outlines (@adrg)
  • #314 Table of Contents Links (@adrg)

v3.0.0-alpha.1

5 years ago

First alpha release of unidoc version 3.

v2.2.0

5 years ago

v2.2.0 (2018/11/17)

Full list of changes: https://github.com/unidoc/unidoc/compare/v2.1.1...v2.2.0

New Features

AESV3 support for parsing and output generation.

  • #199 Merge pull request #199 from dennwc/aes3 (@dennwc)
  • #204 Merge pull request #204 from dennwc/aes3_encrypt (@dennwc)

StyledParagraph component in the creator allowing independent styling of text within the paragraph.

  • #213 Merge pull request #213 from adrg/paragraph-styles (@adrg)

Enhancements and Fixes

Refactoring of cryptographic code

  • #217 Merge pull request #217 from dennwc/refactor (@dennwc)
  • #214 Merge pull request #214 from dennwc/decrypt_xref (@dennwc)

Colorspace parsing

  • #245 Merge pull request #245 from unidoc/cs-parsing-fix (@unidoc)

Creator Divison component supporting inline mode

  • #202 Merge pull request #202 from adrg/div-inline (@adrg)

Inline content parsing

  • #246 Merge pull request #246 from unidoc/fix-inlineimg-accept-fullname-params (@gunnsth)

v2.1.1

5 years ago

Bugfixes and enhancements

Creator

Enhanced table cell support for Images and new Division component which can contain multiple differently styled Paragraphs.

  • #179 Creator tablecell div image support
  • #167 Support wrapped text in table cells
  • 6cefdf9 Added Division drawable which is a container that can wrap over pages
  • 6dda02e Show multi newline
  • b36101a Support newline wrapping in paragraph
  • be8d19b Support wrapped text in table cells
  • f82403e Implemented : Curve & Filled Curve Shape with test
  • 9bafe45 Test case for table cells with multiple paragraphs inside divs and image
  • 38505ef Support for Division in table cells
  • 6a3348e Fix wrapping for block in relative mode

Reading

  • #177 Avoid endless loop when parsing operand in contenstream. Fixes #176

Other

  • a7abcd0 Track number of bytes per character code for mappings. Fixes problem posed in PR #156 in a generic fashion.
  • 0c9502a Block supporting more resource types (pattern, shading)
  • a1a9501 Shading support function arrays
  • 2c6c5b8 Jenkinsfile fix
  • a07f255 go vet fix

v2.1.0

5 years ago

Extractor package added

  • 817ea40 Extractor package with powerful text extraction capabilities and CMap handling. Closes #17

Enhancements and bug fixes

Creator additions and enhancements

  • e71bb34 Fix pagebreak generate page blocks. Support pagebreak in subchapter.
  • 7ae1175 Added Paragraph.Text function returning text content
  • c9f1726 fix TableCell.SetBorderColor
  • 40f3640 PageBreak drawable implementation
  • f2fa55a Added SetForms to Creator
  • 6613014 Fix #131: Return error on pageNumber = 0
  • 4f438e3 dont encode glyphs when you only wrap

Parsing tolerance and improvements

  • 3b89a0b Fixes #157 (Lose parsing of files)
  • 5b17c89 Fix for D/Decode operand. Fixes #149
  • b7efd63 Parser crude optimizations.
  • bf5496a page Resources can be loaded from indirect object
  • 3f7e07a fixes #144, using bytes.Buffer for more efficient string building

CMap handling fixes

Image and colorspace handling

  • 4b2d244 When converting XImage objects to grayscale, also set the Matts of their SMask images to grayscale if they have SMasks
  • 651ff90 Set encoding when transforming patterns. Preserve SMasks when transforming image Xobjects
  • b3e3008 Few fixes: Shadingtype 4 handling, inline image handling (compatibility), encoding name (compatibility)
  • bdf676e Support for resampling images with BitsPerComponent != 8.
  • 207d0ef Add support for specifying alternate image encoding/compression method (creator).

Other

  • f3adc44 Add func NewPdfAnnotationWidget() *PdfAnnotationWidget
  • 30ff60a Insert a space when TJ string is offset by more than a threshold

v2.0.1

6 years ago

Multiple bug fixes:

Color handling: Improved colorspace handling

  • 144fa3f Improved CS handling with Separation, Lab color ranges.
  • e970ac4 Fix in handling of indexed colorspace parsing inline images when using base=DeviceRGB rather than shortcut.  Closes #114.
  • 50041f0 Support indexed cs in inline image. Fixes #113. Fixes in lab colorspace color processing.
  • f840c1c Fixed Lab bounds
  • e2bfa90 Fixing lab colorspace component input ranges.  Fix Indexed cs Image to rgb conversion.

Encoder bug fixes & enhancements:

  • d234fec Allow array in DecodeParms in FlateDecoder of length 1 (containing dict).
  • cc6883d Fix problem with MultiEncoder DecodeParms.  Fixes #97.
  • 2bd4a0a Added dummy encodings
  • 38fa0f1 Added dummy encodings

Improved bounds checking and robustness (found by fuzzing):

  • 9e04cbd Limit maximum specified number of indirect objects when parsing xref stream.  Fixes #111.
  • 07289e3 Check sizes for memory allocation based on pdf user inputs. Fixes #107.
  • 9ec828c Check to avoid division by zero.  Fixes #106.
  • 2ecf2ac Checks on stated byte lengths in xref stream objects.  Closes #94.
  • 30ffbe3 Only attempt to load annotation from a valid indirect object for annotation Popup entries.  Fixes #91.
  • 5bc9d83 Check to ensure row length cannot be greater than data length.  Fixes #88.

Robust parsing:

  • 9d09f7a Make float parsing more like gs
  • d3d0312 Fix PS processing of dup operand. Fixes #98.

Other enhancements:

Add Export function to allow analyzing PDF objects:

Exported returned struct types in creator to enhance usability.

  • a9f70a1 Add check for base colorspace type when loading Indexed colorspace.  Fixes #95.

  • Fixed go get issues to allow using go get github.com/unidoc/unidoc/…

  • Fixed go simplify recommendations, go vet, and continuously working on golint issues (will continue).

v2.0.0

6 years ago

Final release of UniDoc 2.0.0 stable. Version 2 represents a major improvement over version 1 with capabilities for modifying generating and modifying PDF contents.

For more details, see our announcement: https://unidoc.io/news/unidoc-v2-released

v2.0.0-rc.1

6 years ago

Feature complete release candidate for version 2.0.0. The API for the creator has been completed, which enables creating text and graphics reports in a simple fashion.