250 Commits

Author SHA1 Message Date
Denys Smirnov
217f984033 fonts: make standard font names type-safe 2018-12-19 16:55:27 +05:00
Denys Smirnov
7f667d8fbb model: remove Standard14Font in favor of fonts.StdFont; resolves #269 2018-12-19 13:43:09 +05: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
19f95527b8 creator: remove SetEncoder from top 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
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
12e22ece00
Merge branch 'v3' into linter 2018-12-12 08:53:49 +00:00
Denys Smirnov
18579fd2ef add comments to rendering functions and the baseline env variable 2018-12-12 05:08:07 +02: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
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
12ea1a5927
Merge branch 'v3' into font_codes_strict 2018-12-07 15:15:27 +00:00
Adrian-George Bostan
05b9ddcb2e Fix split text chunks containing link annotations 2018-12-03 20:01:50 +02: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
fb4a087a93 textencoding: introduce GlyphName type 2018-11-29 23:24:40 +02:00
Denys Smirnov
5b0eaf3f3a creator: make output stable when using custom fonts; fixes #232 2018-11-29 02:56:26 +02:00
Adrian-George Bostan
585470eebe Add styled paragraph support for internal link annotations 2018-11-28 22:19:30 +02:00
Adrian-George Bostan
e14d898abf Add styled paragraph support for external link annotations 2018-11-28 21:28:27 +02:00
Adrian-George Bostan
2c50caf6a4 Remove unnecessary util function 2018-11-18 11:13:53 +02:00
Adrian-George Bostan
3e9267c57c Improve list component test cases 2018-11-16 22:41:07 +02:00
Adrian-George Bostan
d6d91f07a5 Add List component test case 2018-11-16 22:32:58 +02:00
Adrian-George Bostan
2932b81dc2 Add AddTextItem method on the list component 2018-11-16 22:31:36 +02:00
Adrian-George Bostan
ff8557824c Improve list component documentation and fix golint notices 2018-11-16 21:40:14 +02:00
Adrian-George Bostan
7219022df1 Add List component 2018-11-16 21:23:46 +02:00
Gunnsteinn Hall
1888d156a0 Use os.TempDir instead of /tmp directly for all generated pdfs in creator 2018-11-06 11:34:32 +00:00
Adrian-George Bostan
d8d212c2b3
Merge branch 'v3' into invoice-component 2018-11-01 21:53:58 +02:00
Adrian-George Bostan
73f73fa159 Improve invoice component test cases 2018-11-01 20:58:37 +02:00
Adrian-George Bostan
1508b923e2 Make invoice component styles customizable 2018-11-01 20:44:50 +02:00
Adrian-George Bostan
7ca49f50f2 Improve invoice test 2018-10-30 22:36:13 +02:00
Adrian-George Bostan
b8f9f07175 Add invoice advanced test case 2018-10-30 22:14:04 +02:00
Adrian-George Bostan
74e89e6a2a Improve invoice component interface 2018-10-30 22:13:47 +02:00
Adrian-George Bostan
389083bd9f Improve invoice component style 2018-10-30 21:27:08 +02:00
Adrian-George Bostan
564877a23b Add invoice test 2018-10-30 20:51:27 +02:00
Adrian-George Bostan
7a6b16b614 Make invoice more customizable 2018-10-30 20:43:10 +02:00
Adrian-George Bostan
e7a6b1825f Add totals and notes sections 2018-10-29 20:18:32 +02:00
Adrian-George Bostan
b98f1fe6ce Add initial invoice implementation 2018-10-26 12:29:40 +03:00
Gunnsteinn Hall
4e2e3defba Merge branch 'v3' into v3-enhance-forms 2018-10-23 12:09:01 +00:00