967 Commits

Author SHA1 Message Date
Gunnsteinn Hall
1eed6fa36f
Merge pull request #267 from dennwc/linter
Fix code style issues
2018-12-12 10:30:15 +00:00
Gunnsteinn Hall
1fe74f5116 Merge branch 'linter' of https://github.com/dennwc/unidoc into v3-dennwc-linter 2018-12-12 09:47:28 +00:00
Gunnsteinn Hall
3f840fa3cb
Merge pull request #253 from a5i/v3-pdf-appender
Add PdfAppender
2018-12-12 09:28:47 +00:00
Gunnsteinn Hall
1f917a6fbf
Merge branch 'v3' into v3-pdf-appender 2018-12-12 09:24:54 +00:00
Gunnsteinn Hall
12e22ece00
Merge branch 'v3' into linter 2018-12-12 08:53:49 +00:00
Gunnsteinn Hall
bf26bac138
Merge pull request #266 from dennwc/creator_render_tests
Add rendering tests for creator package
2018-12-12 08:52:57 +00:00
Denys Smirnov
18579fd2ef add comments to rendering functions and the baseline env variable 2018-12-12 05:08:07 +02:00
Aleksei Pavliukov
e0f3189f5b Add PdfAppender 2018-12-11 18:51:07 +03:00
Denys Smirnov
fbc79d351f enable render tests only when the corresponding env variable is set 2018-12-11 04:41:42 +02:00
Denys Smirnov
3f7ad73812 refactor some receiver and method names; fix typos in comments 2018-12-11 04:37:00 +02:00
Denys Smirnov
0a8b46daff don't use generic receiver names; make sure receiver name is consistent 2018-12-09 21:47:15 +02:00
Denys Smirnov
9f0df8945d don't use XXX for TODOs 2018-12-09 21:39:11 +02:00
Denys Smirnov
6d2c39043c make sure comments begin with a type/function name 2018-12-09 20:22:33 +02:00
Denys Smirnov
e286eecac9 remove unused functions and globals; add todos for unused params 2018-12-09 19:37:07 +02:00
Denys Smirnov
5993a8b171 remove redundant types in literals 2018-12-09 19:30:13 +02:00
Denys Smirnov
99f3184879 define slices with a var instead of an empty literal 2018-12-09 19:28:50 +02:00
Denys Smirnov
52fce3abcd creator: compare rendered PDFs pixel by pixel if hash comparison fails 2018-12-09 18:37:37 +02:00
Denys Smirnov
bfc4873830 creator: add optional rendering tests 2018-12-08 21:32:03 +02:00
Gunnsteinn Hall
01a87efdf3
Merge pull request #259 from dennwc/font_codes_strict
Strict types for runes, char codes and GIDs
2018-12-07 15:20:45 +00:00
Gunnsteinn Hall
12ea1a5927
Merge branch 'v3' into font_codes_strict 2018-12-07 15:15:27 +00:00
Gunnsteinn Hall
2c42c9644e Update Jenkinsfile add -p flag on mkdir 2018-12-07 12:39:40 +00:00
Gunnsteinn Hall
ed88d1dd4c Using dedicated TMPDIR per instance (allow concurrent builds) 2018-12-07 12:08:17 +00:00
Gunnsteinn Hall
e89ee8a42f Update Jenkinsfile to download test dependencies 2018-12-07 11:51:02 +00:00
Gunnsteinn Hall
9642436460 Merge branch 'v3' of ssh://github.com/unidoc/unidoc into v3 2018-12-07 10:38:37 +00:00
Gunnsteinn Hall
7b839385c4 Update Jenkinsfile 2018-12-07 10:38:25 +00:00
Denys Smirnov
4e24c0280a textencoding: rename variables and add relevant notes 2018-12-06 20:22:06 +02:00
Gunnsteinn Hall
ab5be5480e
Merge pull request #262 from adrg/paragraph-link-support
Styled Paragraph link support
2018-12-03 18:52:52 +00:00
Adrian-George Bostan
05b9ddcb2e Fix split text chunks containing link annotations 2018-12-03 20:01:50 +02:00
Gunnsteinn Hall
6074504fc6
Merge branch 'v3' into paragraph-link-support 2018-12-02 22:14:53 +00:00
Gunnsteinn Hall
ec15ac6fa4 Add new dependency to Jenkinsfile 2018-12-02 22:02:56 +00:00
Adrian-George Bostan
999b403ad4
Merge branch 'v3' into paragraph-link-support 2018-12-01 12:02:12 +02:00
Adrian-George Bostan
080cf29fa0 Further improve code documentation 2018-12-01 11:56:38 +02:00
Adrian-George Bostan
7912d378a9 Improve documentation comments 2018-12-01 11:47:22 +02:00
Adrian-George Bostan
7e7292dbff Add styled paragraph links test case. 2018-11-30 19:28:47 +02:00
Adrian-George Bostan
4a6d5da26c Add default link style to paragraph 2018-11-30 18:45:48 +02:00
Adrian-George Bostan
9ac309464a Adjust annotation position for all paragraph alignments 2018-11-30 18:21:47 +02:00
Adrian-George Bostan
09e41acdf9 Reverse internal link coordinate system Y axis 2018-11-30 18:09:05 +02:00
Denys Smirnov
0436f2c974 validate shex length in cmaps; add comments 2018-11-29 23:43:00 +02:00
Denys Smirnov
fb4a087a93 textencoding: introduce GlyphName type 2018-11-29 23:24:40 +02:00
Denys Smirnov
27efe08a26 cmap: remove global for missing code; should replace the rune afterwards 2018-11-29 04:52:23 +02:00
Denys Smirnov
e79be78aae textencoding: simplify the code of computeTables 2018-11-29 04:45:39 +02:00
Denys Smirnov
8a4c4069b7 textencoding: unexport CodeToGlyph field 2018-11-29 04:42:35 +02:00
Denys Smirnov
6fddd80eba textencoding: assert the type of differences map 2018-11-29 04:40:25 +02:00
Denys Smirnov
7c8d88185c fonts: assert type of another map; add some comments 2018-11-29 04:30:37 +02:00
Denys Smirnov
b91c1b8c61 model: remove unnecessary typ names in font initialization 2018-11-29 04:19:29 +02:00
Denys Smirnov
46d22eac31 fonts: introduce types for GIDs and char codes; fix shadowing bug 2018-11-29 04:19:29 +02:00
Denys Smirnov
ab62ff5060 fonts: specify rune type as a key for Chars and runeToWidth 2018-11-29 04:19:29 +02:00
Denys Smirnov
6c0fd1e780 cmap: mapped values are runes, not strings 2018-11-29 04:19:29 +02:00
Gunnsteinn Hall
dd145a2d15
Merge pull request #258 from dennwc/stable_creator
Make PDF output stable when using custom fonts
2018-11-29 01:16:24 +00:00
Denys Smirnov
5b0eaf3f3a creator: make output stable when using custom fonts; fixes #232 2018-11-29 02:56:26 +02:00