789 Commits

Author SHA1 Message Date
Gunnsteinn Hall
8477b05897
Merge pull request #225 from a5i/v3-fix-combine-objects
Fix combine objects optimizations
2018-10-03 09:45:03 +00:00
Aleksei Pavliukov
364e8c871f Fix combine objects optimizations 2018-10-03 01:58:03 +03:00
Adrian-George Bostan
8aef464dea Write additional documentation comments for the TOC components 2018-10-01 22:05:27 +03:00
Adrian-George Bostan
907671ff2c Improve documentation comments 2018-10-01 21:53:32 +03:00
Adrian-George Bostan
e08c5bd27b Test more functionality of the TOC component 2018-10-01 21:41:20 +03:00
Adrian-George Bostan
025332b9d4 Set new line styles only for new lines 2018-10-01 21:40:51 +03:00
Adrian-George Bostan
9df55c5c3f Improve TOC test 2018-10-01 21:25:20 +03:00
Adrian-George Bostan
6b02f45d07 Add table of contents test 2018-10-01 21:20:03 +03:00
Adrian-George Bostan
9b497cb180 Fix golint notices 2018-10-01 21:19:20 +03:00
Peter Williams
a27c6bbf90 Hack to suppress EOF errors when parsing PDF fragments in font_test.go 2018-10-01 16:51:13 +10:00
Peter Williams
5c2448d09f Added "T_h" ligature to glyph map. 2018-10-01 16:50:55 +10:00
Gunnsteinn Hall
8be0c2cf5a Added package test for optimize - showcasing an issue 2018-09-30 23:58:56 +00:00
Gunnsteinn Hall
e059440204 Fix if encryptObj not set 2018-09-30 18:45:35 +00:00
Gunnsteinn Hall
4068ea6130 Fix problem with encryptObject having incorrect reference in trailer due to copying 2018-09-30 18:38:50 +00:00
Adrian-George Bostan
f2148ba69f Improve TOC component interface 2018-09-30 19:53:06 +03:00
Adrian-George Bostan
5be78fa40a Improve comments for the styled paragraph component 2018-09-30 19:52:30 +03:00
Adrian-George Bostan
6819172880 Add documentation comments for the TOC and TOCLine components. 2018-09-30 19:26:11 +03:00
Adrian-George Bostan
195e01888b Add TOC component 2018-09-30 19:06:08 +03:00
Gunnsteinn Hall
38dae76b5d Added verification to creator TestEncrypt1 test case 2018-09-30 11:41:57 +00:00
Gunnsteinn Hall
3abcefae62
Merge pull request #208 from a5i/v3-pdf-optimization
Implemented : PDFs optimization
2018-09-30 09:10:56 +00:00
Aleksei Pavliukov
ea5dba8e0d Implemented : PDFs optimization 2018-09-30 01:01:31 +03:00
Gunnsteinn Hall
6a6a387faa
Merge pull request #220 from dennwc/fix_encrypt_dup
Detect old copies of Encrypt dictionary
2018-09-28 22:12:53 +00:00
Denys Smirnov
418b99b4d8 core: detect old copies of Encrypt dictionary; fix #215 2018-09-29 00:16:57 +03:00
Adrian-George Bostan
b8e212e14a Rename toc.go to table_of_contents.go 2018-09-28 19:55:11 +03:00
Adrian-George Bostan
2b89ddedfc Add margin support for the TOCLine component 2018-09-28 19:54:09 +03:00
Adrian-George Bostan
c62dbd3c51 Make members of table of contents line component public 2018-09-28 19:30:46 +03:00
Adrian-George Bostan
138b240ae2 Add TOCLine component 2018-09-27 20:55:58 +03:00
Gunnsteinn Hall
375dd5cebd
Merge pull request #219 from dennwc/fix_aes_pad
Correctly handle decryption of XRef streams and trailer fields
2018-09-26 11:49:10 +00:00
Denys Smirnov
d73bd8d1d2 core: correctly handle encryption of xref streams and trailer fields 2018-09-26 04:54:00 +03:00
Gunnsteinn Hall
6cafab4121 Merge branch 'master' into v3 2018-09-25 23:37:11 +00:00
Gunnsteinn Hall
eb14686746
Merge pull request #218 from dennwc/v3
Pull changes from master to V3
2018-09-25 23:24:54 +00:00
Gunnsteinn Hall
6ff5fa3c02
Merge pull request #217 from dennwc/refactor
Refactor Crypt Filter Methods (CFM)
2018-09-25 23:22:26 +00:00
Denys Smirnov
760f58b954 core: add doc comments for CFMs 2018-09-26 02:16:17 +03:00
Denys Smirnov
4b01f8f6ae update code after merge with master 2018-09-26 01:46:13 +03:00
Denys Smirnov
acd4308d56 Merge branch 'refactor' into v3
# Conflicts:
#	pdf/core/crypt.go
#	pdf/model/writer.go
2018-09-26 01:08:19 +03:00
Denys Smirnov
b3c45a550a core: refactor crypt filter selection code 2018-09-26 00:52:05 +03:00
Denys Smirnov
d551451585 core: move common code for object key generation to a separate function 2018-09-26 00:52:05 +03:00
Denys Smirnov
be03592b2a core: move CFM to separate structs that implement a common interface 2018-09-26 00:52:05 +03:00
Gunnsteinn Hall
2897197775
Merge pull request #209 from peterwilliams97/render.v3.hungarian
Don't return errors for TrueType font file tables with no PostScript …
2018-09-25 21:39:08 +00:00
Gunnsteinn Hall
f74acfdea0
Merge pull request #213 from adrg/paragraph-styles
Multi-style paragraphs
2018-09-25 20:43:36 +00:00
Adrian-George Bostan
24a8628bc2 Fix StyledParagraph calculated height inside table 2018-09-25 21:54:01 +03:00
Adrian-George Bostan
3885bb9e20 Fix StyledParagraph wrapping issue when used inside table cell 2018-09-25 21:15:20 +03:00
Adrian-George Bostan
9ffcdf7698 Merge branch 'paragraph-styles' of github.com:adrg/unidoc into paragraph-styles 2018-09-25 20:51:20 +03:00
Adrian-George Bostan
464489c657 Fix some comment typos 2018-09-25 20:48:50 +03:00
Gunnsteinn Hall
9d59d111aa
Merge branch 'master' into paragraph-styles 2018-09-25 17:31:25 +00:00
Gunnsteinn Hall
b8db74ac94 Add .gitattributes (ignore crlf) 2018-09-25 16:30:29 +00:00
Gunnsteinn Hall
9c99362aaf
Merge pull request #214 from dennwc/decrypt_xref
Do not decrypt XRef streams and "Encrypt" dictionary
2018-09-25 14:42:19 +00:00
Denys Smirnov
7b2f6a6aab core: do not decrypt XRef streams and the Encrypt dictionary; fix #205 2018-09-25 01:48:29 +03:00
Adrian-George Bostan
243be8720a Change division component test to include styled paragraphs 2018-09-24 20:11:02 +03:00
Adrian-George Bostan
922eebca98 Add test for the StyledParagraph component 2018-09-24 19:52:19 +03:00