1560 Commits

Author SHA1 Message Date
Gabriel Vasile
d1a81d79d2 Add NewPdfFontFromTTF(io.ReadSeeker) function. (#199)
* Add NewPdfFontFromTTF(io.ReadSeeker) function.
2019-11-20 23:05:40 +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
Adrian-George Bostan
f7b5ffa954 Prevent extractor panic for invalid PDF text objects (#196)
* Prevent extractor panic for invalid PDF text objects
* Document text extraction behavior of invalid text objects
2019-10-30 20:36:35 +00:00
Peter Williams
362ba7349d Changes to make the lazy reader work on the PaperCut corpus (#194) 2019-10-28 20:49:07 +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
Alfred Hall
a13642e802
Merge pull request #186 from ribice/patch-1
Update pricing link
2019-10-14 10:51:42 +00:00
Alfred Hall
a3df41ba6e
Merge pull request #185 from ribice/patch-1
Remove examples link
2019-10-14 10:51:24 +00:00
Emir Ribić
60bcca8fdf
Update pricing link 2019-10-14 12:48:11 +02:00
Emir Ribić
5588597bf5
Remove examples link
Seems that /examples was removed from website.
2019-10-11 23:06:58 +02: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
2995ee5260
Update go.mod
Undo unwanted change
2019-10-04 21:04:27 +02: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
Gunnsteinn Hall
b063d02193
Merge pull request #175 from adrg/signature-certificate-array
Parse signature certificate arrays on signature validation
2019-09-26 21:06:25 +00:00
Adrian-George Bostan
0bd31c8f84 Parse signature certificate arrays on signature validation 2019-09-26 21:32:56 +03:00
Gunnsteinn Hall
5c6d448fca
Merge pull request #173 from adrg/fix-toc-chapter-tables
Fix TOC page numbering for chapters containing tables
2019-09-23 22:42:08 +00:00
Adrian-George Bostan
09582cb100 Fix TOC page links for chapters containing tables 2019-09-23 20:34:51 +03:00
Gunnsteinn Hall
9e3d977f84
Merge pull request #172 from adrg/fix-build-outlines-recursion
Prevent recursion when parsing outlines
2019-09-20 20:02:55 +00:00
Adrian-George Bostan
da010a9d44 Prevent recursion when parsing outlines 2019-09-19 19:38:24 +03:00
Gunnsteinn Hall
47ae7e277e
Merge pull request #165 from unidoc/release/v3.2.0
Release unipdf v3.2.0
v3.2.0
2019-09-08 08:49:25 +00:00
Gunnsteinn Hall
681e4c24e0
Merge pull request #166 from adrg/release/v3.2.0
Adapt CI config files
2019-09-07 17:16:39 +00:00
Adrian-George Bostan
01d5548a63 Adapt Jenkins file to use the examples development branch 2019-09-07 17:28:53 +03:00
Adrian-George Bostan
527dd2ea63 Adapt travis script to use the examples development branch 2019-09-07 17:27:41 +03:00
Gunnsteinn Hall
d1d154c0fe Update version to 3.2.0 2019-09-07 13:14:54 +00: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
Adrian-George Bostan
7406957200 Add Travis CI integration (#162)
* Add Travis integration
* Improve Travis build_examples script
* Use local unipdf package when building examples
2019-09-03 08:46:25 +00:00
Adrian-George Bostan
56e81d3a1a Take decode arrays into account when processing grayscale images (#159)
* Take decode arrays into account when processing grayscale images
* Adapt image extraction test case hashes
* Minor refactoring in the ColorAt image method
* Always return vanilla data from the jbig2 decoder
2019-08-30 19:16:23 +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
Gunnsteinn Hall
fbed2a74d9
Merge pull request #160 from unidoc/master
Merge master into development
2019-08-29 23:20:47 +00:00
Jacek Kucharczyk
24648f4481 Issue #144 Fix - JBIG2 - Changed integer variables types (#148)
* Fixing platform indepenedent integer size
* Cleared test logs.
* Cleared unnecessary int32
* Defined precise integer size for jbig2 segments.
2019-08-29 19:12:18 +00:00
Peter Williams
aea4cb1d55 Make PageText.sortPosition() sort order deterministic. (#153) 2019-08-29 18:26:53 +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
febf633172 Image memory optimizations (#149)
* Add ColorAt method for images
* Avoid resample on image to Go image conversion
* Avoid resample when converting grayscale image to RGB
* Preserve old behavior of image to Go image conversion
* Add missing case in the ToGoImage method
* Fix grayscale to RGB image conversion
* Improve code documentation
* Fix color extraction for CMYK and 4 bit RGB
* Add test case for the ColorAt image method
* Avoid resampling when converting CMYK image to RGB
* Add notice comment for the GetSamples/SetSamples image methods
2019-08-22 20:15:16 +00:00
Adrian-George Bostan
cca04199e6 Add extract images test case, with memory profiling (#146)
* Add extract images test case, with memory profiling
* Use TotalAlloc insted of Alloc for memory profiling
* Remove calls to debug.FreeOSMemory from test cases
2019-08-19 22:37:16 +00:00
Gunnsteinn Hall
719c0f9c9e
Merge pull request #141 from gunnsth/development
Merge master into development following v3.1.1 release
2019-08-04 18:42:28 +00:00
Gunnsteinn Hall
fa79413895 Update version.go to 3.1.1 2019-08-04 18:39:19 +00:00
Gunnsteinn Hall
19cbd6829f Update README.md 2019-08-04 18:39:19 +00:00
Gunnsteinn Hall
418751090f
Merge pull request #140 from gunnsth/release/v3.1.1
Release unipdf v3.1.1
v3.1.1
2019-08-04 18:12:11 +00:00
Gunnsteinn Hall
55a64a5cc2
Merge branch 'master' into release/v3.1.1 2019-08-04 11:48:29 +00:00
Gunnsteinn Hall
0549d63fb3 Update version.go to 3.1.1 2019-08-04 11:43:45 +00:00
Gunnsteinn Hall
a2d0f7b6a8 Update README.md 2019-08-04 11:43:24 +00:00
Alfred Hall
c5c68303a4
Merge pull request #139 from gunnsth/dev-textmarks-append
Append function to TextMarkArray for processing and grouping text
2019-08-04 11:11:12 +00:00
Gunnsteinn Hall
9a41273494 Fix - Both path and customer name must be set 2019-08-04 10:21:14 +00:00
Gunnsteinn Hall
21141a9d3e Add Append to TextMarkArray
Useful when processing and grouping text marks.
2019-08-04 09:29:21 +00:00
Gunnsteinn Hall
1d7b969b91 Simplify license loading and support environment variables 2019-08-04 09:28:42 +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