Class: TTFunk::Subset::MacRoman

Inherits:
CodePage show all
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

#code_page, #encoding

Attributes inherited from Base

#original

Instance Method Summary collapse

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.

Parameters:

Source Code
lib/ttfunk/subset/mac_roman.rb, line 12
12
def initialize(original)
13
  super(original, 10_000, Encoding::MACROMAN)
14
end