Module: TTFunk::Table::Post::Format40
- Defined in:
- lib/ttfunk/table/post/format40.rb
Overview
Version 4.0 names glyphs by their character code.
Instance Method Summary collapse
-
#glyph_for(code) ⇒ String
Get glyph name for character code.
Instance Method Details
#glyph_for(code) ⇒ String
Get glyph name for character code.
12 13 14 |
# File 'lib/ttfunk/table/post/format40.rb', line 12 def glyph_for(code) @map[code] || 0xFFFF end |