42 Commits

Author SHA1 Message Date
UniDoc Build
56a210342e prepare release 2020-10-12 14:17:59 +00:00
UniDoc Build
87cbc66cbd prepare release 2020-10-05 19:28:24 +00:00
UniDoc Build
22ca2c0eed prepare release 2020-09-28 23:18:17 +00:00
UniDoc Build
9107a86674 prepare release 2020-09-21 01:20:10 +00:00
UniDoc Build
b991a36456 prepare release 2020-09-14 09:32:45 +00:00
UniDoc Build
fd3b669a36 prepare release 2020-09-07 00:23:12 +00:00
UniDoc Build
61b6580cb9 prepare release 2020-08-31 21:12:07 +00:00
UniDoc Build
1501d07a74 prepare release 2020-08-27 21:45:09 +00:00
Adrian-George Bostan
564133c5b3
Refactor creator render test functionality (#386) 2020-07-01 19:51:28 +00:00
Adrian-George Bostan
4f96762674
Add fill and stroke colors for extracted text marks (#381)
* Add fill and stroke colors for text marks

* Add extractor text color test case

* Fix fillColor field comment typo
2020-06-24 09:55:58 +00:00
Adrian-George Bostan
7bf2f62c3b
Skip referenced pages which are not present in the catalog (#377)
* Skip referenced pages which are not present in the catalog

* Improve documentation for the copyObject method of the writer

* Add creator test case for checking referenced page destinations
2020-06-18 15:06:06 +00:00
Adrian-George Bostan
5efaa02e23
Use page indirect object for internal outline destinations (#359)
* Use page indirect object for internal outlines

* Use page indirect object in creator outline destinations

* Adapt creator test case to test outline creation and retrieval
2020-05-22 16:19:43 +00:00
Adrian-George Bostan
6246921ab3
Fix table right-aligned content (#348)
* Fix cell content width in right-aligned table cells

* Add table horizontal alignment test case

* Fix import style
2020-05-12 15:47:52 +00:00
Gunnsteinn Hall
ad2a1e9c9d
Subsetting fixes (#346)
* Update unitype lib which improves subsetting

* Add text extraction check to creator font subsetting example

Helps ensure ToUnicode map is set correctly.

* Clean up import

* Fix spelling
2020-05-12 07:15:09 +00:00
Adrian-George Bostan
f60e313cdb
Fix incorrect render of invoice totals (#342)
* Fix rendering invoice totals area on page breaks

* Improve invoice simple test case
2020-05-06 20:12:44 +00:00
Gunnsteinn Hall
9ef2f27694
Support for subsetting fonts (#335)
* Subsetting of TrueType CID fonts using unitype

* Simplify call to SubsetRegistered so can be done right after loading font via creator finalizer

* Add an EnableFontSubsetting function on the creator to simplify font subsetting for creator users
2020-05-05 00:17:27 +00:00
Adrian-George Bostan
c17719d232
Invoice component improvements (#334)
* Add invoice address heading field

* Update invoice test cases

* Add default value to buyer address heading

* Add Street2 and State address fields

* Add configurable address separator field

* Improve invoice test cases
2020-05-01 12:56:43 +00:00
Adrian-George Bostan
30db3448f7
Add support for multi-block styled paragraphs (#331)
* Add support for multi-block styled paragraphs

* Fix context space when drawing division inside tables

* Update context height when drawing tables

* Update advanced invoice test case

* Add basic multi-block styled paragraph test case
2020-04-29 19:22:00 +00:00
Adrian-George Bostan
cb0166e96b
Add low level PageLabels support (#325)
* Add reader method for retriving the PageLabels entry from the catalog
* Add writer method for setting the PageLabels entry in the catalog.
* Add creator method for adding page labels for the output file
* Add creator page labels test case
* Minor page labels test case correction
2020-04-22 21:17:33 +00:00
Adrian-George Bostan
5a21f16e83
Paragraph components fixes (#294)
* Take spaces into account when wrapping styled paragraph text
* Fix starting position of styled paragraphs
* Wrap text unconditionally when style paragraph height is requested
* Fix styled paragraph text wrapping edge case
* Fix text chunk wrapping edge case
* Adapt text chunk test
* Wrap text unconditionally when paragraph height is requested
* Add text wrapping test case for styled paragraph using character spacing
2020-04-06 23:58:22 +00:00
Jacek Kucharczyk
29efa30439
JBIG2 Encoder support for inserting binary images into PDF (#288)
* Added JBIG2 PDF support
* Added JBIG2 Encoder binary image requirements
* PR #288 revision r1 fixes
* PR #288 revision r2 fixes
2020-04-03 20:54:59 +00:00
Adrian-George Bostan
b6867132da Fix chapter component SetShowNumbering method 2020-01-13 21:00:11 +02:00
Adrian-George Bostan
1e26aa81f6 Preserve TOC line components style properties when setting links (#202)
* Preserve TOC line component style properties when setting links
* Adapt TOC test cases
2019-11-26 21:49:45 +00:00
Adrian-George Bostan
f8588506ff Make the Finalize method of the creator public (#198)
* Make the Finalize method of the creator public
* Skip finalizing the creator if already finalized
2019-11-05 22:58:52 +00:00
Gunnsteinn Hall
ddbb5671e3
Merge pull request #188 from inoda/invoice-line-cols
Allows overwriting default line columns
2019-10-21 17:18:04 +00:00
Isaac
ae15375e7c Updates comment to call out use before AddLine 2019-10-21 10:26:26 -06:00
Isaac
83f1e5211e Allows overwriting default line columns 2019-10-18 14:14:19 -06:00
Adrian-George Bostan
eef3b8f13e Improve text chunk component (#181)
* Add more functionality to text chunks
* Add creator text chunk test cases
* Improve documentation of the text chunk Fit method
2019-10-08 20:41:20 +00:00
Gunnsteinn Hall
b7dc67705d
Merge pull request #176 from becoded/bugfix-text-chunk-annotation
Copy action of annotation
2019-10-04 21:05:42 +00:00
Bert Van Hauwaert
6b2b46b274
Update text_chunk.go
Add dot to comment
2019-10-04 21:03:56 +02:00
Bert Van Hauwaert
58f450b456 Copy action of annotation 2019-10-03 10:19:01 +02:00
Adrian-George Bostan
09582cb100 Fix TOC page links for chapters containing tables 2019-09-23 20:34:51 +03:00
Adrian-George Bostan
07615469c9 Fix panic when loading composite fonts (#164)
* Fix loading composite fonts when no glyph names are provided
* Make handling of unsupported runes consistent between paragraph components
2019-09-07 11:19:39 +00:00
Gunnsteinn Hall
b1c851b7b0
Becoded action support (#161)
* initial commit to add action support
* Add support for all actions as defined in the specs
* Implement filespec for actions
* Add url filespec test
* update file test
* Implement remarks + add tests
2019-08-30 08:50:30 +00:00
Adrian-George Bostan
2d20058a26 Fix drawing creator pages with no rendered blocks (#156) 2019-08-26 18:30:54 +00:00
Adrian-George Bostan
2d51deb6d9 Table styled paragraph links (#138)
* Copy block annotations when drawing subcomponents
* Add table paragraph links test case
2019-08-03 11:50:56 +00:00
Adrian-George Bostan
87180cc7f3 Inherit rotation when creating block from page using the creator (#133)
* Inherit rotation when creating block from page using the creator
* Use the center of blocks as point of origin for rotation
* Preserve appearance of test cases containing rotated blocks
2019-08-01 22:26:51 +00:00
Adrian-George Bostan
2a72ef83c3 Creator optimize drawing blocks (#136)
* Merge blocks and draw to page once
* Adapt stream compression test case
* Preserve original behavior of the raw stream compression test case
2019-07-31 21:58:14 +00:00
Adrian-George Bostan
2189002435 Allow adding an external outline tree to the creator (#106) 2019-07-04 18:57:34 +00:00
Adrian-George Bostan
6b13044546 Add resources of blocks created from pages to the output page resources 2019-07-02 21:51:56 +03:00
Adrian-George Bostan
3bae2f6035 Add support for vertical alignment of styled paragraphs inside table cells (#69) 2019-05-30 22:01:56 +00:00
Adrian-George Bostan
c64812093d Remmove pdf folder and move packages up one level (#2) 2019-05-16 20:44:51 +00:00