Class: TTFunk::Subset::Windows1252

Inherits:
CodePage show all
Defined in:
lib/ttfunk/subset/windows_1252.rb

Overview

Windows 1252 sbset. It uses code page 1252 and Windows-1252 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) ⇒ Windows1252

Returns a new instance of Windows1252.

Parameters:



12
13
14
# File 'lib/ttfunk/subset/windows_1252.rb', line 12

def initialize(original)
  super(original, 1252, Encoding::CP1252)
end