15 Commits

Author SHA1 Message Date
Peter Williams
64a1b48d40
Merge pull request #1 from hiroxy/render
Render
2018-07-03 11:19:43 +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
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
539a3be976 re-ordered font.go functions, public at top 2018-06-28 17:39:20 +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
bd7a556e1a fixed 2 cmap typos 2018-06-27 17:27:41 +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
Gunnsteinn Hall
5ce423ffcd Cleaned up text encoding interface and rune<->glyph conversions. Added test example for Symbol and ZapfDingbats font/encodings. Closes #59. 2017-07-10 15:17:46 +00:00
Gunnsteinn Hall
10c3be8c95 Change PdfObjectDictionary from map to struct and introduce ordered keys. Syntax change. Fixes all around to accommodate changes. Also fixes in test cases. Closes #56. 2017-07-08 21:04:13 +00:00
Gunnsteinn Hall
1a5c3eb4ac Initial import of PDF creator with text, image adding capabilities 2017-07-05 23:10:57 +00:00