821 Commits

Author SHA1 Message Date
Peter Williams
28c99083d4 Merge branch 'render.v3.hungarian' into extract 2018-10-19 13:32:34 +11:00
Peter Williams
ade6fa0405 Added tcpdf licence 2018-10-19 13:31:25 +11:00
Peter Williams
45f6c09e39 Merge branch 'render.v3.hungarian' into extract 2018-10-19 10:05:02 +11:00
Peter Williams
ca4f928da5 Removed some debug code. 2018-10-18 21:56:06 +11:00
Peter Williams
5f2e31b98d Merge branch 'v3' of https://github.com/unidoc/unidoc into render.v3.hungarian 2018-10-18 21:39:47 +11:00
Peter Williams
b48010c75b Fixed typo 2018-10-18 21:39:16 +11:00
Peter Williams
45228219b5 Added PdfFont.FontDescriptor() which always returns a PdfFontDescriptor, possibly a builtin one for
the standard 14 fonts.
2018-10-18 21:12:15 +11:00
Gunnsteinn Hall
919b83bbcd
Merge pull request #239 from dennwc/font_minor
Minor fixes to font packages
2018-10-16 10:19:09 +00:00
Peter Williams
2452973cfe Don't add /Encoding entry to standard 14 font dicts.
Moved the standard 14 font encoders to a separate field pdfFontSimple.std14Encoder.
2018-10-16 14:50:43 +11:00
Denys Smirnov
995f1595ce textencoding: don't use explicit type for nested map declarations 2018-10-16 01:44:12 +03:00
Denys Smirnov
a5b5c63f89 model: fix runes enumeration in composite fonts 2018-10-16 01:44:12 +03:00
Denys Smirnov
558fe5a420 model: use composite struct literal for initialization 2018-10-16 01:44:12 +03:00
Denys Smirnov
781992027d creator: reduce the size of test output by reusing the font 2018-10-16 01:44:12 +03:00
Denys Smirnov
8f09a9b79a creator: use a portable temp dir path in tests 2018-10-16 01:44:12 +03:00
Peter Williams
3cdca483a3 Merge branch 'v3' of https://github.com/unidoc/unidoc into render.v3.hungarian 2018-10-15 19:15:37 +11:00
Gunnsteinn Hall
94146c2603
Merge pull request #237 from adrg/component-creator
Create components through the creator
2018-10-14 15:16:51 +00:00
Adrian-George Bostan
0b3a67486a Add NewImageFromGoImage method to the creator 2018-10-14 14:50:12 +03:00
Adrian-George Bostan
d2ed3db2c2 Fix StyledParagraph Reset method prototype 2018-10-12 23:33:50 +03:00
Adrian-George Bostan
90ba15f56d Instantiate component only through creator and cache default fonts 2018-10-12 23:00:02 +03:00
Adrian-George Bostan
ac7d2d72ff Change font rename scheme on name collision 2018-10-12 19:35:04 +03:00
Peter Williams
2c8c8e5c98 Removed debugging code. 2018-10-09 19:05:38 +11:00
Gunnsteinn Hall
f4deb858ba Fix for loading standard fonts with Encoding difference maps 2018-10-09 18:14:34 +11:00
Peter Williams
89d1bce9da testing hack 2018-10-09 13:47:43 +11:00
Peter Williams
f6dc3e2fc3 First attempt at splitting words in text extraction using a space detection heuristic 2018-10-09 11:49:59 +11:00
Gunnsteinn Hall
e9165467cd
Merge pull request #234 from adrg/table-align-paragraph
Fix paragraph/styled paragraph cell alignment in tables
2018-10-08 17:04:55 +00:00
Adrian-George Bostan
f9a8288b43
Merge branch 'v3' into table-align-paragraph 2018-10-08 19:13:56 +03:00
Gunnsteinn Hall
5b4828be69
Merge pull request #224 from dennwc/refactor_2
Refactor encryption-related code
2018-10-08 16:11:17 +00:00
Gunnsteinn Hall
d9dfa57225
Merge branch 'v3' into refactor_2 2018-10-08 16:05:58 +00:00
Denys Smirnov
5d09fa8cde crypt: handle length format violation for length=40 2018-10-08 18:35:33 +03:00
Adrian-George Bostan
3f9fc2e5eb
Merge branch 'v3' into table-align-paragraph 2018-10-08 18:08:30 +03:00
Adrian-George Bostan
58e15b03a9 Add test cases for horizontal alignment of paragraphs inside tables 2018-10-08 17:53:13 +03:00
Adrian-George Bostan
0954292a46 Remove unnecessary method call in creator test 2018-10-08 17:37:17 +03:00
Adrian-George Bostan
095e431f51 Calculate content width for Paragraph and StyledParagraph in table cells 2018-10-08 17:35:21 +03:00
Adrian-George Bostan
db93b6e873 Add getMaxLineWidth method on StyledParagraph 2018-10-08 17:34:57 +03:00
Adrian-George Bostan
fb41824815 Add getTextLineWidth and getMaxLineWidth methods on Paragraph 2018-10-08 17:33:55 +03:00
Gunnsteinn Hall
901e252881
Merge pull request #231 from adrg/paragraph-enable-wrap
Wrap paragraph text only if width has been set
2018-10-08 13:34:33 +00:00
Denys Smirnov
84284c88ec security: add missing license headers, more documentation 2018-10-08 01:04:56 +03:00
Denys Smirnov
7bd4ba688d core: split crypt filter methods into a separate package 2018-10-08 00:18:18 +03:00
Denys Smirnov
42df346e69 core: split security handlers into a separate package 2018-10-08 00:18:18 +03:00
Denys Smirnov
006e5f9e6e core: simplify decoding of Encrypt dictionary a bit with a helper 2018-10-08 00:18:18 +03:00
Denys Smirnov
68d20968d3 core: move encryption dictionary encoder and decoder to it's own type 2018-10-08 00:18:18 +03:00
Denys Smirnov
1c19ba9e96 core: decouple security handlers with different revisions from PdfCrypt 2018-10-08 00:18:18 +03:00
Denys Smirnov
7e9f3dd7e2 core: unexport remaining PdfCrypt methods 2018-10-08 00:18:18 +03:00
Denys Smirnov
fd9b3746de core: unexport remaining PdfCrypt fields 2018-10-08 00:18:18 +03:00
Denys Smirnov
bccaa87cdc core: refactor encryption and decryption types 2018-10-08 00:18:18 +03:00
Denys Smirnov
b5288e7ddc core: change permissions type to a bitmask 2018-10-08 00:18:18 +03:00
Denys Smirnov
ef64bef191 core: permissions field is uint32 according to the spec 2018-10-08 00:18:18 +03:00
Adrian-George Bostan
195319a9f7 Adjust table paragraph alignment in creator test 2018-10-07 21:45:32 +03:00
Adrian-George Bostan
af04a44ab1 Enable paragraph wrapping by default in the table component 2018-10-07 19:31:03 +03:00
Adrian-George Bostan
555b70017e Adjust division test 2018-10-07 18:48:56 +03:00