Denys Smirnov
3c5fc18b01
textencoding: refactor encodings; better handling for differences
2019-01-01 17:20:01 +02:00
Denys Smirnov
53687f854e
Merge remote-tracking branch 'origin/v3' into extract.text
...
# Conflicts:
# pdf/contentstream/processor.go
# pdf/extractor/text.go
# pdf/extractor/utils.go
# pdf/internal/textencoding/winansi.go
# pdf/model/font.go
# pdf/model/font_composite.go
# pdf/model/font_simple.go
# pdf/model/font_test.go
# pdf/model/fontfile.go
# pdf/model/fonts/ttfparser.go
# pdf/model/structures.go
2018-12-27 12:17:28 +02:00
Denys Smirnov
3687c83b37
errors should start with a lower case
2018-12-15 18:49:15 +05:00
Denys Smirnov
9f0df8945d
don't use XXX for TODOs
2018-12-09 21:39:11 +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
99f3184879
define slices with a var instead of an empty literal
2018-12-09 19:28:50 +02:00
Denys Smirnov
7cdbb0c572
Merge remote-tracking branch 'origin/v3' into extract.text
...
# Conflicts:
# pdf/internal/textencoding/truetype.go
# pdf/model/font.go
# pdf/model/font_composite.go
# pdf/model/font_simple.go
# pdf/model/font_test.go
# pdf/model/fonts/ttfparser.go
2018-12-07 18:30:37 +02:00
Gunnsteinn Hall
2b1c796a74
Addressing review comments
2018-11-30 23:01:04 +00:00
Denys Smirnov
fb4a087a93
textencoding: introduce GlyphName type
2018-11-29 23:24:40 +02:00
Denys Smirnov
7c8d88185c
fonts: assert type of another map; add some comments
2018-11-29 04:30:37 +02:00
Peter Williams
c898ce847a
Removed non-text-extraction code.
2018-11-26 18:00:15 +11:00
Peter Williams
a2024b8e29
Use char width 250 for standard 14 font characters without given char metrics.
2018-11-23 11:21:51 +11:00
Peter Williams
3da4ffc5aa
Merge
2018-11-01 21:33:51 +11:00
Gunnsteinn Hall
aea91f1ba9
Merge branch 'v3' into v3-enhance-forms
2018-09-29 16:59:16 +00:00
Gunnsteinn Hall
7bac3c779c
Merge branch 'v3' into enhance-forms
2018-08-03 21:15:21 +00:00
Peter Williams
08c3211590
Refactored simple textencoding
...
Made GlyphToCode work for all tables
Moved more aliases into glyphAliases rather than leaving the duplicates in the base maps.
Use SimpleEncoder explictly for simple fonts
2018-07-31 11:52:24 +10:00
Peter Williams
b1cf3494f7
Removed naked returns. Fixed godoc. Reorganized object extractors
2018-07-25 12:00:49 +10:00
Peter Williams
e886846c6a
Changes after pull request review
2018-07-24 21:32:02 +10:00
Peter Williams
502836666d
Merge remote-tracking branch 'upstream/v3' into render.v3
2018-07-21 21:20:39 +10:00
Peter Williams
28d2d223c4
Reduced logging noise
2018-07-21 08:53:59 +10:00
Peter Williams
a3d2907d23
.
2018-07-15 17:58:00 +10:00
Peter Williams
6582182078
reduced differences with compositefont branch
2018-07-15 16:28:56 +10:00
Peter Williams
bc1e9ae7b5
Refactored font code to improve text extraction
2018-07-13 17:40:27 +10:00
Peter Williams
e6bf6f511a
Implement standard encoding with SimpleEncoder
2018-07-06 16:55:39 +10:00
Peter Williams
49674d6b63
Changed error handling. Allow partial encoding maps. Don't continue processing unsupported fonts
2018-07-04 18:00:37 +10:00
Peter Williams
33079bbb72
Parse FontFile entry in FontDescriptor
2018-07-03 14:26:42 +10:00
Peter Williams
d6bd8e3326
first attempt at parsing FontFile
2018-07-02 16:46:43 +10:00