987 Commits

Author SHA1 Message Date
Gunnsteinn Hall
2b718c9ba6
Merge pull request #260 from dennwc/font_interface
Preparations for a new font interface
2018-12-18 16:08:01 +00:00
Denys Smirnov
5bf2527b57 creator: clarify use of the default encoding and a way to override it 2018-12-15 19:39:59 +05:00
Denys Smirnov
e3704defc7 rename Typ1 font to StdFont 2018-12-15 19:39:55 +05:00
Denys Smirnov
19f95527b8 creator: remove SetEncoder from top 2018-12-15 18:49:15 +05:00
Denys Smirnov
62420700db fix case typos in errors 2018-12-15 18:49:15 +05:00
Denys Smirnov
3687c83b37 errors should start with a lower case 2018-12-15 18:49:15 +05:00
Denys Smirnov
4abbe49007 remove unnecessary encoder override; add todo to check other code paths 2018-12-15 18:47:39 +05:00
Denys Smirnov
d5a69b817c model: move CID font width array code to function and add a test case 2018-12-15 18:47:39 +05:00
Denys Smirnov
d3664d0f85 fonts: make metric tables for type1 fonts more compact by sharing glyphs 2018-12-15 18:47:39 +05:00
Denys Smirnov
3c8e70256d fonts: reuse metrics tables where possible 2018-12-15 18:47:39 +05:00
Denys Smirnov
0ef989c713 fonts: group similar fonts to a single file 2018-12-15 18:47:39 +05:00
Denys Smirnov
3b1a92701f fonts: remove redundant Type1 font interface implementations 2018-12-15 18:47:39 +05:00
Denys Smirnov
59f694d99f fonts: remove broken SetEncoder method for most fonts 2018-12-15 18:47:39 +05:00
Denys Smirnov
4c99e7a692 textencoding: remove unused error value when making winansi encoding 2018-12-15 18:47:39 +05:00
Denys Smirnov
81bb03763b font: discovered a bug in SetEncoder 2018-12-15 18:47:39 +05:00
Denys Smirnov
7b4564aec5 model: clarify the usage of width map and ttf text encoder 2018-12-15 18:47:39 +05:00
Denys Smirnov
11081b20c5 fonts: clarify cid to gid mapping 2018-12-15 18:47:39 +05:00
Denys Smirnov
e07fa3b2c0 model: add a reference to width table format and simplify the code 2018-12-15 18:47:39 +05:00
Denys Smirnov
7e2a987f8a model: remove unused font width index 2018-12-15 18:47:39 +05:00
Denys Smirnov
2274cbdf8c fonts: add a function to make a text encoder from ttf font 2018-12-15 18:47:39 +05:00
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