1544 Commits

Author SHA1 Message Date
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
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
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
f1738ac062 Check for missing resource dict when generating field appearance (#135) 2019-07-31 20:06:50 +00:00
Gunnsteinn Hall
d2e7eda95f
Lazy loading improvements (#131)
* Simplify lazy loading logic, remove redundancy. Fixes, improved performance.
* Additional lazy reader fixes
* Make core.IsNullObject method resolve references
* Adapt appender test cases for lazy reader usage
2019-07-24 21:19:13 +00:00
Gunnsteinn Hall
1c32554f09
Merge pull request #132 from gunnsth/dev-merge-master
Merge master into development
2019-07-24 20:29:00 +00:00
Gunnsteinn Hall
427c5ba70b Update README.md 2019-07-24 20:10:43 +00:00
Gunnsteinn Hall
a3fb2b8f47 Prepare release v3.1.0 2019-07-24 20:10:43 +00:00
Gunnsteinn Hall
5a29de60ae Prepare release of unipdf v3.0.3 2019-07-24 20:10:43 +00:00
Adrian-George Bostan
550d79472e Add option to generate appearance dicts when filling form fields (#128) 2019-07-22 17:19:02 +00:00
Gunnsteinn Hall
c5c8eaba9e
Update README.md 2019-07-19 20:17:26 +00:00
Gunnsteinn Hall
ac84eabcf0
Merge pull request #124 from gunnsth/release/v3.1.0
v3.1.0 release
v3.1.0
2019-07-19 18:38:03 +00:00
Gunnsteinn Hall
9818e52a07 Prepare release v3.1.0 2019-07-18 19:37:48 +00:00
Gunnsteinn Hall
4e4b9c842a Merge remote-tracking branch 'upstream/master' into development 2019-07-18 19:35:09 +00:00
Peter Williams
9ebcfcf168 Finding bounding boxes of substrings of extracted text. (#109)
* Added text bounding box extraction.
* Add `font` field to textMark struct;
Create a new method `TextComponents` to retrieve all the text components of the extracted text in the page, with position and character informations
* Reorganizing extractor/text.go
* Added a text extraction position test.
* Added another text extraction location test.
* Text extraction location testing.
* Added tests for text extraction with location information.
* Cleaned up text extraction tests. No changes to functionality.
* Simplifying text extraction code.
* Simplified line construction in text.go
* Returning TextMark's in TextMarkArray which are based on PdfObjectArray but read-only, so not pointers.
* Added text extraction to show PDFs marked-up with bounding boxes of substring in extracted text.
* Add comments explaining how to calculate text bounding boxes.
* Made text_test.go naming consistent with function comments in text.go
* Use tm, pt, tl for textMark/TextMark PageText and TextLine receivers and local variables.
* uncommeted text stress test. Use go test --short to skip
* TextMark.Offset is now an index into the extracted text. It was an index into []rune(text)
2019-07-18 06:41:47 +00:00
Jacek Kucharczyk
4b1c345214 JBIG2 decoder benchmark patch 2019-07-16 15:40:22 +00:00
Jacek Kucharczyk
e85616cec2 JBIG2Decoder implementation (#67)
* Prepared skeleton and basic component implementations for the jbig2 encoding.
* Added Bitset. Implemented Bitmap.
* Decoder with old Arithmetic Decoder
* Partly working arithmetic
* Working arithmetic decoder.
* MMR patched.
* rebuild to apache.
* Working generic
* Decoded full document
* Decoded AnnexH document
* Minor issues fixed.
* Update README.md
* Fixed generic region errors. Added benchmark. Added bitmap unpadder. Added Bitmap toImage method.
* Fixed endofpage error
* Added integration test.
* Decoded all test files without errors. Implemented JBIG2Global.
* Merged with v3 version
* Fixed the EOF in the globals issue
* Fixed the JBIG2 ChocolateData Decode
* JBIG2 Added license information
* Minor fix in jbig2 encoding.
* Applied the logging convention
* Cleaned unnecessary imports
* Go modules clear unused imports
* checked out the README.md
* Moved trace to Debug. Fixed the build integrate tag in the document_decode_test.go
* Applied UniPDF Developer Guide. Fixed lint issues.
* Cleared documentation, fixed style issues.
* Added jbig2 doc.go files. Applied unipdf guide style.
* Minor code style changes.
* Minor naming and style issues fixes.
* Minor naming changes. Style issues fixed.
* Review r11 fixes.
* Integrate jbig2 tests with build system
* Added jbig2 integration test golden files.
* Minor jbig2 integration test fix
* Removed jbig2 integration image assertions
* Fixed jbig2 rowstride issue. Implemented jbig2 bit writer
* Changed golden files logic. Fixes r13 issues.
2019-07-14 21:18:40 +00:00
Gunnsteinn Hall
0460471691
Add UNIDOC_JBIG2_TESTDATA environment variable pointing to testdata directory (#120)
Needed to be able to run tests in PR #67
2019-07-14 20:18:57 +00:00