891 Commits

Author SHA1 Message Date
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
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
Gunnsteinn Hall
e63a74cc9c Merge branch 'master' into v3-merge-master-in 2018-09-06 09:45:04 +00:00
Gunnsteinn Hall
c250f04b52 Jenkinsfile - Add ghostscript checks on created output pdfs 2018-09-03 10:59:32 +00:00
Gunnsteinn Hall
688ded7dae
Merge pull request #185 from peterwilliams97/render.v3.hungarian
Render.v3.hungarian
2018-09-03 10:55:20 +00:00
Peter Williams
f84792531f Fixed bugs introduced into creator_test.go by font changes.
- Use pdfFontType0 Encoding value for encoding name if it is set.
- Use DW entry in CID Type2 fonts
- Encode CID fonts using 2 bytes / character
2018-09-03 10:48:31 +10:00
Peter Williams
4ae7016b94 Moved FontDescriptor from Type0 font dict to DescendantFont dict 2018-08-29 21:30:05 +10:00
Peter Williams
adb16cd150 Moved files to new UniDoc directory layout. 2018-08-23 21:51:32 +10:00
Peter Williams
d3bec465ce Set Paragraph.enableWrap default to false to avoid default setting of wrap enabled with
Paragraph.wrapWidth = 0

Paragraph.enableWrap is set true when Paragraph.wrapWidth is set in Paragraph.SetWidth()
2018-08-23 09:19:20 +10:00
Peter Williams
b7f1f3e291 Merge branch 'v3' of https://github.com/unidoc/unidoc into render.v3.hungarian 2018-08-22 22:01:00 +10:00
Peter Williams
660c1b934b added change left out of previous commit 2018-08-22 15:05:34 +10:00
Peter Williams
b641b2b627 don't return a glyph for rune \x00 2018-08-22 15:02:52 +10:00
Peter Williams
e5ec5406f6 Changes to get creator working better.
- textencoding.RuneToGlyph always returns a value
- Encode empty /Difference correctly
- NewParagraph sets a custom encoding that matches its text
2018-08-22 14:51:50 +10:00
Peter Williams
cc4f64fa98 small tidy up 2018-08-21 12:43:51 +10:00
Peter Williams
d96f963de2 Changed Encode signature from Encode(raw string) string to Encode(raw string) []byte. 2018-08-20 20:13:10 +10:00
Peter Williams
23fe5a5cfe Change Paragraph.enableWrap default to false to make it hard to unintentional set zero width wrap. 2018-08-20 19:02:47 +10:00
Peter Williams
b9561f0671 file left out of previous commit 2018-08-20 18:37:47 +10:00
Peter Williams
8b6a14a2f9 Added a function to create an encoder for a specified alphabet for simple fonts. 2018-08-20 17:58:01 +10:00
Peter Williams
c2feafdfdc Fixed some issues in creator code
Stopped double converting from Go strings to PDF encoded strings
Added TTF parse table format 12
2018-08-17 08:41:35 +10:00
Gunnsteinn Hall
31ffe3158d Clean up validation code and loading of signature dictionary as model 2018-08-16 17:39:51 +00:00
Gunnsteinn Hall
0e79570866
Merge pull request #184 from unidoc/setlicensekey-customername
Adding customerName parameter to SetLicenseKey
2018-08-16 17:15:16 +00:00
Alfred Hall
de4548fc61 Adding customerName parameter to SetLicenseKey
This is to make the license information more verbose. Breaking change.
2018-08-16 17:10:53 +00:00
Gunnsteinn Hall
c3c6eaa1e6 Add modified crypto dependencies to internal: pkcs7, x509, x509/pkix, asn1 packages - more lenient. Minor fixes. 2018-08-15 18:50:32 +00:00
Gunnsteinn Hall
72a6c7640b
Merge pull request #183 from unidoc/license-expired-taketwo
Fixing so old licenses still work correctly.
2018-08-15 13:42:54 +00:00
Alfred Hall
7311bdfd8e Fixing so old licenses still work correctly. 2018-08-15 13:39:58 +00:00