1162 Commits

Author SHA1 Message Date
nkryuchkov
8c4bf0b4ef Ensure 90+% test coverage for ccittfaxdecode 2019-02-15 15:23:01 +03:00
nkryuchkov
f2b25b3eb5 Add TestEncode 2019-02-14 21:46:33 +03:00
nkryuchkov
cfbb181e23 Add test data, fix rows bug with g4, achieve 71.5% coverage 2019-02-14 19:38:43 +03:00
nkryuchkov
4c869e88d1 Generate test data for decoding 2019-02-10 19:39:01 +03:00
nkryuchkov
e8505e104f Achieve 50.9% test coverage on ccittfaxdecode 2019-02-10 13:50:11 +03:00
nkryuchkov
600ed85a45 Add TestDecodeRow1D 2019-02-09 22:32:28 +03:00
nkryuchkov
a1c5dd23d3 Achieve 50.4 test coverage 2019-02-08 23:30:23 +03:00
nkryuchkov
129e216434 Finish TestFindRunLen 2019-02-08 11:50:26 +03:00
nkryuchkov
e75e44ee27 Add white terminals for TestFindRunLen 2019-02-07 15:00:20 +03:00
nkryuchkov
e05be53dce Fix decoding EOL issue with G3 2D 2019-02-07 14:11:55 +03:00
nkryuchkov
cd8ec66acf Add tests for helping functions 2019-02-06 15:20:36 +03:00
nkryuchkov
342d1b8362 Fix ToGoImage, ImageToRGB, encoding example
ToGoImage and ImageToRGB now correctly handle 1bit colorspace images
2019-02-05 22:10:56 +03:00
nkryuchkov
7d95a552f6 Add the 1 bit component decoding to ccitt 2019-02-04 22:18:16 +03:00
nkryuchkov
43625d5c66 Add CCITTFaxDecode filter 2019-02-04 19:37:28 +03:00
Gunnsteinn Hall
15f437dc92
Merge pull request #304 from adrg/invoice-note-align
Fix invoice notes section alignment
2019-01-08 17:37:49 +00:00
Adrian-George Bostan
a04a48ec70 Fix note section alignment 2019-01-08 18:44:08 +02:00
Gunnsteinn Hall
61c13118ee
Merge pull request #301 from adrg/multipage-table-fix
Multipage table fix
2019-01-07 22:03:37 +00:00
Adrian-George Bostan
d8f4ef1c58 Increase number of invoice lines for the simple invoice test case 2019-01-07 19:30:30 +02:00
Adrian-George Bostan
9b6cd8b88a Start at the top of the page when table block is created on new page 2019-01-07 19:22:08 +02:00
Gunnsteinn Hall
01a8f4e266
Merge pull request #297 from ribice/patch-1
Update invoice_test.go
2019-01-07 16:48:18 +00:00
Gunnsteinn Hall
1085bf1a2e
Merge branch 'v3' into patch-1 2019-01-07 16:43:50 +00:00
Gunnsteinn Hall
1980f2651c
Merge pull request #298 from dennwc/fix_differences
Fix differences
2019-01-06 22:42:35 +00:00
Denys Smirnov
bf2afd3409 textencoding: merge differences if applied twice 2019-01-06 19:20:35 +02:00
Emir Ribić
fb50cd2c0d
Update invoice_test.go 2019-01-06 16:50:22 +01:00
Denys Smirnov
e740aba6c5 textencoding: fix a PDF output for simple encodings; fix #293 2019-01-06 13:51:00 +02:00
Gunnsteinn Hall
098019ac2c
Merge pull request #281 from dennwc/encodings
Refactor encodings
2019-01-05 17:27:04 +00:00
Gunnsteinn Hall
bf47fc5b6e
Merge branch 'v3' into encodings 2019-01-05 17:18:16 +00:00
Denys Smirnov
4a376ec651 textencoding: define WinAnsi directly instead of using CP1252 2019-01-05 18:32:53 +02:00
Gunnsteinn Hall
bc1005af71
Merge pull request #287 from peterwilliams97/text.fixes
A few small fixes for v3
2019-01-05 12:09:54 +00:00
Peter Williams
72c7fd37d0 (*pageText). -> pageText. 2019-01-05 14:10:54 +11:00
Peter Williams
6b1764c118 (*pt). -> pt. 2019-01-05 09:14:10 +11:00
Peter Williams
4aa7e5051e Changes missed in previous commit. 2019-01-04 16:07:03 +11:00
Peter Williams
e251b6b2f2 Made TextList an opaque struct and renamed it to PageText to reflect its purpose rather than its current implementation. 2019-01-04 16:02:22 +11:00
Peter Williams
4cb130c31f Fixed some typos. 2019-01-03 15:41:36 +11:00
Peter Williams
a493fce496 Merge branch 'v3' of https://github.com/unidoc/unidoc into text.fixes 2019-01-03 15:16:38 +11:00
Gunnsteinn Hall
e4802f56a2
Merge pull request #288 from dennwc/ttf
Read TTF font data once
2019-01-02 17:01:45 +00:00
Gunnsteinn Hall
a792826218
Merge branch 'v3' into ttf 2019-01-02 16:46:11 +00:00
Denys Smirnov
aeea76f4dd fonts: read ttf font data once 2019-01-02 17:18:43 +02:00
Denys Smirnov
0fe2f0a27a textencoding: alias x/text/transform import to avoid confusion 2019-01-02 17:03:03 +02:00
Denys Smirnov
203b620067 textencoding: init other encodings once and reformat tables 2019-01-02 16:54:37 +02:00
Gunnsteinn Hall
305ce84569 Add codecov to Jenkinsfile for test coverage reports 2019-01-02 14:30:09 +00:00
Peter Williams
2f2b5c6ec1 Made many fields text.go private. 2019-01-02 10:39:30 +11:00
Denys Smirnov
0327d18eb6 textencoding: remove all unrelated methods from the interface 2019-01-01 23:24:11 +02:00
Denys Smirnov
7a2cd35f48 fonts: rebuild font metrics tables based on runes for standard fonts 2019-01-01 22:40:11 +02:00
Denys Smirnov
2e820f3ac5 textencoding: remove unused rune <-> glyph methods from the interface 2019-01-01 22:15:22 +02:00
Denys Smirnov
1742cb9c89 textencoding: drop old simpleEncoder, use the new implementation 2019-01-01 21:17:57 +02:00
Denys Smirnov
3c5fc18b01 textencoding: refactor encodings; better handling for differences 2019-01-01 17:20:01 +02:00
Denys Smirnov
622ae5668d textencoding: generate table for WinAnsi encoding from CP1252 2019-01-01 17:20:01 +02:00
Denys Smirnov
ac7696693b fonts: describe few issues with the code; remove unused cmap type 2019-01-01 17:19:58 +02:00
Peter Williams
57e6b41ef1 Merge branch 'v3' of https://github.com/unidoc/unidoc into text.fixes 2019-01-01 17:34:04 +11:00