Restructure/rewrite of the Type1 font parser.
Merge pull request #3003 from brendandahl/type1-parser

Restructure/rewrite of the Type1 font parser.