Class: TTFunk::Subset::Windows1252
- 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
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(original) ⇒ Windows1252
constructor
A new instance of Windows1252.
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.
Source Code
lib/ttfunk/subset/windows_1252.rb, line 12
12 | def initialize(original) |
13 | super(original, 1252, Encoding::CP1252) |
14 | end
|