98 Commits

Author SHA1 Message Date
Gunnsteinn Hall
9665959bcf Move model/fonts to model/internal/fonts - reducing export surface
- Move the folder
- Update imports
- Add type aliases to access needed types from model (fonts.StdFont, fonts.CharMetrics and the font names)
2019-03-12 19:08:37 +00:00
Adrian-George Bostan
b6819bc491 Add multi-level subchapters to the creator test 2019-03-06 19:32:00 +02:00
Adrian-George Bostan
548af32929 Adapt creator test 2019-03-05 21:40:38 +02:00
nkryuchkov
6ffb78b093 Make requested changes according to the PR comments
Add default parameters to the NewCCITTFaxEncoder. Default values
are taken from the PDF specification.
ccittfaxdecode was moved to pdf/internal and renamed to ccittfax.
ccittfax package errors were unexported.
2019-02-18 08:28:34 +03:00
Adrian-George Bostan
3658a49abc Modify tests to showcase TOC links 2019-01-11 19:25:26 +02:00
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
4abbe49007 remove unnecessary encoder override; add todo to check other code paths 2018-12-15 18:47:39 +05: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
9f0df8945d don't use XXX for TODOs 2018-12-09 21:39:11 +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
Denys Smirnov
5b0eaf3f3a creator: make output stable when using custom fonts; fixes #232 2018-11-29 02:56:26 +02:00
Gunnsteinn Hall
4e2e3defba Merge branch 'v3' into v3-enhance-forms 2018-10-23 12:09:01 +00: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
Gunnsteinn Hall
d60240f560 Merge branch 'v3' into v3-enhance-forms 2018-10-15 10:02:38 +00:00
Adrian-George Bostan
0b3a67486a Add NewImageFromGoImage method to the creator 2018-10-14 14:50:12 +03:00
Gunnsteinn Hall
5fb48797fb minor fix 2018-10-13 17:28:34 +00:00
Gunnsteinn Hall
4a4c73ba0b Ensure content streams are not compressed in optimization test 2018-10-13 16:24:04 +00:00
Gunnsteinn Hall
3454ec67dc Merge branch 'v3' into v3-enhance-forms 2018-10-13 11:32:20 +00: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
0954292a46 Remove unnecessary method call in creator test 2018-10-08 17:37:17 +03:00
Adrian-George Bostan
195319a9f7 Adjust table paragraph alignment in creator test 2018-10-07 21:45:32 +03:00
Adrian-George Bostan
bd00223038 Add sample code for setting TOC style in the creator test 2018-10-04 19:11:18 +03:00
Adrian-George Bostan
b52907f4b8 Show table of contents in creator test 2018-10-03 19:40:25 +03:00
Adrian-George Bostan
c4fabc876f Adapt creator test to use the AddTOC property 2018-10-03 19:28:54 +03:00
Adrian-George Bostan
7728bd6a0b Adapt creator test in order to use the new TOC component 2018-10-03 18:48:48 +03:00
Aleksei Pavliukov
364e8c871f Fix combine objects optimizations 2018-10-03 01:58:03 +03:00
Gunnsteinn Hall
38dae76b5d Added verification to creator TestEncrypt1 test case 2018-09-30 11:41:57 +00:00
Aleksei Pavliukov
ea5dba8e0d Implemented : PDFs optimization 2018-09-30 01:01:31 +03:00
Gunnsteinn Hall
aea91f1ba9 Merge branch 'v3' into v3-enhance-forms 2018-09-29 16:59:16 +00:00
Peter Williams
69be54d501 Cleaned up some comments. 2018-09-21 16:43:10 +10:00
Peter Williams
eb6ffda9fa added a comment 2018-09-18 08:06:12 +10:00
Peter Williams
4d5156c4a0 Added NewStandard14FontMustCompile 2018-09-07 19:11:58 +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
fefff56603 Cleaned up some comments in creator. 2018-08-15 17:36:42 +10:00
Peter Williams
1847fcf8db Converted creator to new font code 2018-08-15 09:32:13 +10:00
Sakib Sami
b6de33b79c - Fixed TestTableCellWrapping test 2018-08-14 02:02:03 +06:00
Sakib Sami
44e98e2ced
Merge branch 'v3' into master 2018-08-14 01:56:45 +06:00
Sakib Sami
4e8d9d8e47 - Updated : SetBorderStyleMethod
- updated : Comments to godoc style
2018-08-13 01:58:28 +06:00
Sakib Sami
29295f0b2f - Updated : SetBorderStyleMethod
- Added : CellBorderSide constraint
2018-08-11 13:28:16 +06:00
Gunnsteinn Hall
f67228a668 Clean up 2018-08-10 12:11:55 +00:00
Gunnsteinn Hall
296596e4c9 Merge branch 'master' of https://github.com/s4kibs4mi/unidoc into s4kibs4mi-master and address border centering for double border 2018-08-10 12:05:07 +00:00
Sakib Sami
fd475ad84d - Added : Required modification on border and basic line implementation
- BorderTest
- CellTest
2018-08-10 01:40:40 +06:00
Gunnsteinn Hall
38157c3a51 Fix border corners and BasicLine Draw 2018-08-08 14:48:01 +00:00
Sakib Sami
c024c237d2 - Added : BorderTest 2018-08-08 08:09:06 +06:00
Sakib Sami
f6a254095c - Added : BasicLine in creator 2018-08-07 01:59:36 +06:00