class HexaPDF:: Font:: TrueType:: Table:: OS2
Parent | HexaPDF::Font::TrueType::Table |
---|---|
Extended With |
HexaPDF::Utils::BitField |
The ‘OS/2’ table contains information required by Windows.
Some attributes may be nil
when read from a file depending on the version of the table.
See: developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6OS2.html
Attributes
The break character used by Windows.
The distance between the baseline and the approximate height of uppercase letters.
The code page character range.
The default character displayed by Windows to represent an unsupported character.
Classification of the font-family design.
The minimum Unicode index in this font.
The maximum Unicode index in this font.
The lowest size at which the font starts to be used.
The maximum length of an OpenType context for any feature in this font.
Describes the visual characteristics of the given typeface.
Information concerning the nature of the font patterns.
Position of the strikeout stroke relative to the baseline.
Width of the strikeout stroke.
Recommended horizontal offset for subscripts.
Recommended horizontal size in pixels for subscripts
Recommended vertical offset from the baseline for subscripts.
Recommended vertical size in pixels for subscripts
Recommended horizontal offset for superscripts.
Recommended horizontal size in pixels for superscripts
Recommended vertical offset from the baseline for superscripts.
Recommended vertical size in pixels for superscripts
Characteristics and properties of this font.
The typographic ascender. May not be the same as the ascender in the ‘hhea’ table.
The typographic descender. May not be the same as the ascender in the ‘hhea’ table.
The typographic line gap. May not be the same as the ascender in the ‘hhea’ table.
Describes the Unicode ranges covered by the font.
The highest size at which the font starts to be used.
The four character identifier of the font vendor.
The version of the table.
Visual weight of stroke in glyphs.
Relative change from the normal aspect ratio (width/height).
The ascender metric for Windows.
The descender metric for Windows.
AVerage weighted advance width of lower case letters and space.
The distance between the baseline and the approximate height of non-ascending lowercase letters.