978 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
Adrian-George Bostan
a04a48ec70 Fix note section alignment 2019-01-08 18:44:08 +02: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
1085bf1a2e
Merge branch 'v3' into patch-1 2019-01-07 16:43:50 +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
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
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
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
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
Peter Williams
aaf47e1479 Font reading code return partial font info for unsupported fonts.
This allows calling code to check font types which is useful for giving information about PDF files.
2019-01-01 17:29:49 +11:00
Peter Williams
ca2b73bd7a Removed combineDiacritics from text extraction because it was causing ' and " to be combined with the letters proceeding them.
Need to fix this and reinstate combineDiacritics.
2019-01-01 12:22:39 +11:00
Denys Smirnov
83d8086657 model: reformat TODOs 2018-12-28 16:48:38 +02:00
Denys Smirnov
f6506204d7 fonts: simplify code by getting width of runes in font instead of glyphs 2018-12-28 01:38:48 +02:00
Denys Smirnov
107718c711 fonts: comment about Wy font metric 2018-12-28 01:08:50 +02:00
Denys Smirnov
eb04b2d594 fonts: remove unused name field in char metrics 2018-12-28 01:08:47 +02:00
Denys Smirnov
87ebf6af8f creator: don't use fmt if not needed 2018-12-28 01:03:15 +02:00
Gunnsteinn Hall
99a19b0b8d remove duplicate log 2018-12-27 17:42:12 +00:00
Gunnsteinn Hall
8f031e7bdb remove panic in extractor 2018-12-27 17:18:52 +00:00