prawnpdf / ttfunk

Font Metrics Parser for Prawn
http://prawnpdf.org
Other
125 stars 75 forks source link

Created new Cmap Format #9

Closed nmadura closed 10 years ago

nmadura commented 12 years ago

I had a need to access a ttf that had a Format 6 CMAP file, so I created one, and thought I would send it back to you guys. I don't know if Format06.encode works, as I had nothing with which to try it, but I took my best guess. I can verify that the parse_cmap! method does work.

I took a guess as to how to best modify lib/ttfunk/table/cmap/subtable.rb to work with Format 6.

practicingruby commented 10 years ago

Hi, sorry for the very late response to this pull request. Does #10 also cover what you need?

practicingruby commented 10 years ago

Closing, but please let me know if #10 doesn't do what you need. (It has been merged!)