Denys Smirnov
fb4a087a93
textencoding: introduce GlyphName type
2018-11-29 23:24:40 +02:00
Denys Smirnov
6fddd80eba
textencoding: assert the type of differences map
2018-11-29 04:40:25 +02:00
Denys Smirnov
b91c1b8c61
model: remove unnecessary typ names in font initialization
2018-11-29 04:19:29 +02:00
Denys Smirnov
46d22eac31
fonts: introduce types for GIDs and char codes; fix shadowing bug
2018-11-29 04:19:29 +02:00
Denys Smirnov
ab62ff5060
fonts: specify rune type as a key for Chars and runeToWidth
2018-11-29 04:19:29 +02:00
Gunnsteinn Hall
bc6391200a
Avoid outputing invalid Encoding name for generated standard fonts (use font encoding instead)
2018-10-10 22:44:55 +00:00
Gunnsteinn Hall
aea91f1ba9
Merge branch 'v3' into v3-enhance-forms
2018-09-29 16:59:16 +00:00
Peter Williams
75dfdb6f1c
Use Standard14Font consistently for standard 14 font names.
2018-09-21 16:25:57 +10:00
Peter Williams
bb709b4381
Added FontName to FontDescriptor when loading TrueType based fonts from file
2018-09-07 21:43:39 +10: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
435bb91cb0
Explain Fall back to StandardEncoding.
2018-07-26 14:36:40 +10:00
Peter Williams
63afbb525c
doc changes after pull request review
2018-07-25 16:14:19 +10:00
Peter Williams
84a4e0ebbf
Removed GetArrayVal
2018-07-25 13:19:09 +10:00
Peter Williams
e886846c6a
Changes after pull request review
2018-07-24 21:32:02 +10:00
Hiroshi Muramatsu
994b69e970
Embed common font fields
2018-07-23 14:55:23 +10:00
Hiroshi Muramatsu
5257855e29
Define font descriptor flags
2018-07-23 13:21:13 +10:00
Peter Williams
502836666d
Merge remote-tracking branch 'upstream/v3' into render.v3
2018-07-21 21:20:39 +10:00
Peter Williams
2468e2b264
Merge branch 'render' into render.clean
2018-07-21 14:18:48 +10:00
Peter Williams
28d2d223c4
Reduced logging noise
2018-07-21 08:53:59 +10:00
Peter Williams
879b07df16
Added a test for CharcodeBytesToUnicode for Type0 ToUnicode cmaps
2018-07-19 10:28:23 +10:00
Peter Williams
7f5475badb
attempting to simplify render branch
2018-07-16 17:42:08 +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
ae87dc79f3
keep going when FontFile2 encoding is empty
2018-07-13 21:15:03 +10:00
Peter Williams
bc1e9ae7b5
Refactored font code to improve text extraction
2018-07-13 17:40:27 +10:00
Hiroshi Muramatsu
299f65df69
Remove unnecessary argument
2018-07-11 09:04:17 +10:00
Peter Williams
86e833bf2b
Continuing to integrate standard 14 fonts into simple fonts.
2018-07-06 16:41:13 +10:00
Peter Williams
ec50032dc5
Merge branch 'render' of https://github.com/peterwilliams97/unidoc into render
2018-07-03 14:26:04 +10:00
Peter Williams
33079bbb72
Parse FontFile entry in FontDescriptor
2018-07-03 14:26:42 +10:00
Peter Williams
64a1b48d40
Merge pull request #1 from hiroxy/render
...
Render
2018-07-03 11:19:43 +10:00
Hiroshi Muramatsu
eb1feffa59
Embed common font fields into each font type
2018-07-02 17:10:34 +10:00
Peter Williams
d6bd8e3326
first attempt at parsing FontFile
2018-07-02 16:46:43 +10:00
Hiroshi Muramatsu
9675882cb4
Reduce number of memory allocations
2018-07-02 13:49:06 +10:00
Peter Williams
4c374b9f7e
Simplified font.go. Made ToUnicode cmap private. Removed duplicate ToUnicode from Type0 font
2018-06-28 11:06:23 +10:00
Peter Williams
199a74dbd8
Major changes to font code
...
- Added Type1 font parsing.
- Added Standard 14 font parsing.
- Fixed some bugs in cmap code.
- Started re-structuring of font code. Moved common font fields to `fontSkeleton`
2018-06-27 12:25:59 +10:00
Gunnsteinn Hall
646329ff21
Initial support for composite fonts (Type0 and CIDFontType2).
...
Simplified creator paragraph handling of text encoding.
Character codes expanded to 16bit instead of 8bit.
2017-09-01 13:20:51 +00:00