module TTFunk::Table::Post::Format10
Version 1.0 provides glyph names for standard 258 glyphs in the standard Macintosh TrueType font file.
Constants
- POSTSCRIPT_GLYPHS
-
Glyph names.
Public Instance Methods
Source
# File lib/ttfunk/table/post/format10.rb, line 46 def glyph_for(code) POSTSCRIPT_GLYPHS[code] || '.notdef' end
Get glyph name for character code.
@param code [Integer] @return [String]
Private Instance Methods
Source
# File lib/ttfunk/table/post/format10.rb, line 52 def parse_format! # do nothing. Format 1 is easy-sauce. end