1153 Commits

Author SHA1 Message Date
Gunnsteinn Hall
4adddde141
Merge branch 'v3' into v3-json-form-fill 2019-01-10 22:02:06 +00:00
Gunnsteinn Hall
0bfde3f224 Address PR comments 2019-01-10 21:43:38 +00: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
fc8a6f911f Add missing header 2019-01-07 01:01:11 +00:00
Gunnsteinn Hall
5e0b7c9bbf Add basic tests 2019-01-07 00:41:26 +00:00
Gunnsteinn Hall
b0e69735ff Add package fjson for filling form data and filling via json 2019-01-06 23:53:52 +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
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
Gunnsteinn Hall
e1f2286f9c
Merge pull request #279 from dennwc/runes
Get metrics by rune instead of a glyph name
2018-12-28 13:09:51 +00:00
Gunnsteinn Hall
99b944b64e
Merge branch 'v3' into runes 2018-12-28 12:41:43 +00:00
Gunnsteinn Hall
84607f9914
Merge pull request #278 from unidoc/v3-update-jenkinsfile
Require extractor private testdata in builds
2018-12-28 12:41:20 +00: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