Denys Smirnov
fb4a087a93
textencoding: introduce GlyphName type
2018-11-29 23:24:40 +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
Denys Smirnov
5b0eaf3f3a
creator: make output stable when using custom fonts; fixes #232
2018-11-29 02:56:26 +02:00
Gunnsteinn Hall
4e2e3defba
Merge branch 'v3' into v3-enhance-forms
2018-10-23 12:09:01 +00:00
Denys Smirnov
a5b5c63f89
model: fix runes enumeration in composite fonts
2018-10-16 01:44:12 +03:00
Denys Smirnov
558fe5a420
model: use composite struct literal for initialization
2018-10-16 01:44:12 +03:00
Gunnsteinn Hall
aea91f1ba9
Merge branch 'v3' into v3-enhance-forms
2018-09-29 16:59:16 +00:00
Peter Williams
b18c8ca93d
Add ToUnicode map when embedding Type0 CIDType2 fonts in PDF files.
2018-09-17 17:57:52 +10:00
Peter Williams
bb709b4381
Added FontName to FontDescriptor when loading TrueType based fonts from file
2018-09-07 21:43:39 +10:00
Peter Williams
f84792531f
Fixed bugs introduced into creator_test.go by font changes.
...
- Use pdfFontType0 Encoding value for encoding name if it is set.
- Use DW entry in CID Type2 fonts
- Encode CID fonts using 2 bytes / character
2018-09-03 10:48:31 +10:00
Peter Williams
4ae7016b94
Moved FontDescriptor from Type0 font dict to DescendantFont dict
2018-08-29 21:30:05 +10:00
Gunnsteinn Hall
7bac3c779c
Merge branch 'v3' into enhance-forms
2018-08-03 21:15:21 +00:00
Peter Williams
63afbb525c
doc changes after pull request review
2018-07-25 16:14:19 +10:00
Peter Williams
eb80c88da9
Made CIDSystemInfo a PdfObjectDictionary
2018-07-25 14:29:39 +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
7f5475badb
attempting to simplify render branch
2018-07-16 17:42:08 +10:00
Peter Williams
6582182078
reduced differences with compositefont branch
2018-07-15 16:28:56 +10:00
Hiroshi Muramatsu
299f65df69
Remove unnecessary argument
2018-07-11 09:04:17 +10:00
Peter Williams
4661975304
stuggling with fontSkeleton mess
2018-07-06 16:42:34 +10:00
Hiroshi Muramatsu
eb1feffa59
Embed common font fields into each font type
2018-07-02 17:10:34 +10:00
Hiroshi Muramatsu
9675882cb4
Reduce number of memory allocations
2018-07-02 13:49:06 +10:00
Peter Williams
c6f7cf9eef
Got Type0 font -> obj -> font test passing
2018-06-29 18:09:44 +10:00
Peter Williams
d0448a9662
made pdfCIDFontType0 a clear stub
2018-06-29 16:36:06 +10:00
Peter Williams
187c3e37dd
Added more font description strings for pdf_fonts.go test program
2018-06-29 14:21:59 +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
4cc6c14a8e
Fall back to font encoding when ToUnicode doesn't match
2018-06-27 22:01:17 +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