Class: TTFunk::Subset::MacRoman
- Defined in:
- lib/ttfunk/subset/mac_roman.rb
Overview
Mac Roman subset. It uses code page 10,000 and Mac OS Roman encoding.
Constant Summary
Constants inherited from Base
Base::MICROSOFT_PLATFORM_ID, Base::MS_SYMBOL_ENCODING_ID
Instance Attribute Summary
Attributes inherited from CodePage
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(original) ⇒ MacRoman
constructor
A new instance of MacRoman.
Methods inherited from CodePage
#covers?, #from_unicode, #includes?, #new_cmap_table, #original_glyph_ids, #space_char_code, #to_unicode_map, unicode_mapping_for, #use
Methods inherited from Base
#collect_glyphs, #encode, #encoder_klass, #glyphs, #microsoft_symbol?, #new_to_old_glyph, #old_to_new_glyph, #to_unicode_map, #unicode?, #unicode_cmap
Constructor Details
#initialize(original) ⇒ MacRoman
Returns a new instance of MacRoman.
12 13 14 |
# File 'lib/ttfunk/subset/mac_roman.rb', line 12 def initialize(original) super(original, 10_000, Encoding::MACROMAN) end |