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
glyph_for(code)
click to toggle source
Get glyph name for character code.
@param code [Integer] @return [String]
# File lib/ttfunk/table/post/format10.rb, line 46 def glyph_for(code) POSTSCRIPT_GLYPHS[code] || '.notdef' end
Private Instance Methods
parse_format!()
click to toggle source
# File lib/ttfunk/table/post/format10.rb, line 52 def parse_format! # do nothing. Format 1 is easy-sauce. end