972 Commits

Author SHA1 Message Date
Gunnsteinn Hall
86988f5a2b
Merge pull request #201 from peterwilliams97/render.v3.hungarian
Render.v3.hungarian
2018-09-22 10:19:50 +00:00
Peter Williams
c76fa6985e Moved font cache from global variable to Extractor. 2018-09-22 09:28:18 +10:00
Peter Williams
69be54d501 Cleaned up some comments. 2018-09-21 16:43:10 +10:00
Peter Williams
75dfdb6f1c Use Standard14Font consistently for standard 14 font names. 2018-09-21 16:25:57 +10:00
Peter Williams
9ef892a83f Added tests for CMap creation 2018-09-21 15:39:31 +10:00
Peter Williams
dc6f50aa93 Improvements to text extraction. 2018-09-20 11:49:44 +10:00
Denys Smirnov
8450ebcef6 core: use type switch instead of if statements in encode and decode 2018-09-20 02:00:01 +03:00
Gunnsteinn Hall
6f85ca4fa8
Merge pull request #204 from dennwc/aes3_encrypt
Implement AES encryption (128 and 256 bits)
2018-09-19 22:05:28 +00:00
Denys Smirnov
b7dcbc22de core: fix standard crypt filter name; resolves issues with Adobe Reader 2018-09-19 23:48:50 +03:00
Denys Smirnov
eac1e899dc core: allow to write documents with AES encryption 2018-09-19 06:02:15 +03:00
Denys Smirnov
839f9ea3bc core: fix padding for AESv3 2018-09-19 06:01:29 +03:00
Denys Smirnov
d424bc2b6d core: add MakeBool helper 2018-09-19 06:00:19 +03:00
Peter Williams
44563f2cae Added fontMetrics to font loader and GetAverageCharWidth to PdfFont 2018-09-19 11:12:59 +10:00
Denys Smirnov
d4b2490ea3 core: implement encryption algorithms 8-10; add tests for alg 8-13 2018-09-19 03:33:59 +03:00
Denys Smirnov
7fb4c91137 core: do not overwrite Perms then validating it 2018-09-19 03:12:49 +03:00
Denys Smirnov
e18e4b502c core: move zero iv allocation to a separate function 2018-09-19 02:44:26 +03:00
Denys Smirnov
1371f91098 core: check metadata encryption flag in alg13 2018-09-19 02:43:32 +03:00
Gunnsteinn Hall
4a89eddcfc Form field creation functions placed into annotator 2018-09-18 19:57:53 +00:00
Gunnsteinn Hall
8e6553be85
Merge pull request #202 from adrg/div-inline
Add inline mode to the division component
2018-09-18 17:05:38 +00:00
Gunnsteinn Hall
c312176710 Mockup for field creation (commented out)
contentstream dependency needs to be removed
2018-09-18 16:52:20 +00:00
Adrian-George Bostan
4cc51904bd
Merge branch 'master' into div-inline 2018-09-18 19:46:29 +03:00
Adrian-George Bostan
32228e2a17 Improve style of comments 2018-09-18 19:33:02 +03:00
Adrian-George Bostan
bc854abafe Increase test coverage for the inline division component 2018-09-18 19:24:07 +03:00
Adrian-George Bostan
faee04d13f Fix golint notices 2018-09-18 19:09:14 +03:00
Adrian-George Bostan
4e77d585f5 Add division unit test 2018-09-18 18:57:49 +03:00
Adrian-George Bostan
53a54ee0e4 Fix inline division wrapping on new page 2018-09-18 18:54:32 +03:00
Peter Williams
19c2f84827 simplification 2018-09-18 12:18:04 +10:00
Peter Williams
39a91920e9 Merge branch 'render.v3.hungarian' into extract 2018-09-18 11:18:47 +10:00
Peter Williams
76902719df Merge branch 'v3' of https://github.com/unidoc/unidoc into extract 2018-09-18 11:06:43 +10:00
Peter Williams
a5569176cf Merge branch 'v3' of https://github.com/unidoc/unidoc into render.v3.hungarian 2018-09-18 10:37:30 +10:00
Gunnsteinn Hall
23af4db2b3 Remove dot imports in contentstream pkg 2018-09-18 00:00:48 +00:00
Peter Williams
eb6ffda9fa added a comment 2018-09-18 08:06:12 +10:00
Adrian-George Bostan
7004fb0d0e Add inline member on the DrawContext structure 2018-09-17 22:11:25 +03:00
Adrian-George Bostan
ba5b493b70 Add inline mode for the division component 2018-09-17 21:33:17 +03:00
Gunnsteinn Hall
1142758f73
Merge pull request #199 from dennwc/aes3
Implement AESv3 decryption
2018-09-17 15:16:37 +00:00
Gunnsteinn Hall
11febb4207 Add SetFlag to field 2018-09-17 15:04:22 +00:00
Denys Smirnov
c7cfde7c1f core: move test data, add docs and link to the specification 2018-09-17 17:36:31 +03:00
Peter Williams
b18c8ca93d Add ToUnicode map when embedding Type0 CIDType2 fonts in PDF files. 2018-09-17 17:57:52 +10:00
Peter Williams
38da971f78 Cache PdfFont's in text extractor 2018-09-17 12:12:06 +10:00
Gunnsteinn Hall
9efa91168d Fix for building acroform ToPdfObject 2018-09-16 17:56:03 +00:00
Denys Smirnov
c08a13c234 core: optimize allocations for hash used in R=6 2018-09-16 17:10:04 +03:00
Denys Smirnov
6e2c1c51bf core: add a test case for files with a very long password 2018-09-16 15:31:02 +03:00
Denys Smirnov
8f4f1804b0 core: implement decoding of AESv3; resolves #30 2018-09-16 04:13:24 +03:00
Denys Smirnov
6510d0a853 core: algorithms 2a and 13 (decode file key and validate permissions) 2018-09-16 02:48:08 +03:00
Denys Smirnov
b76c8a56c4 core: implement algorithm 11 and 12 (password check for R=5 and R=6) 2018-09-16 00:34:13 +03:00
Denys Smirnov
443efd4c4c core: refactor encryption check 2018-09-13 22:37:53 +03:00
Adrian-George Bostan
cd50893bfd Add inline member for Division container 2018-09-13 19:52:40 +03:00
Peter Williams
bb709b4381 Added FontName to FontDescriptor when loading TrueType based fonts from file 2018-09-07 21:43:39 +10:00
Peter Williams
4d5156c4a0 Added NewStandard14FontMustCompile 2018-09-07 19:11:58 +10:00
Gunnsteinn Hall
9e11b2912b
Merge pull request #192 from unidoc/v3-merge-master-in
Merge master into v3
2018-09-06 10:27:12 +00:00