Namespace Ot.Os2
Primary Types
Constant Ot.Os2.Tag = "OS/2"
Class Ot.Os2.Table
Constructor
- new Ot.Os2.Table(version:number)
Properties
Note: despite the table version, all the properties will be present. However, some of the properties may be ignored when building the font.
- Version 0 and up
- readonly version:number
- volatile xAvgCharWidth:number
- usWeightClass:number
- usWidthClass:number
- fsType:Ot.Os2.FsType
- ySubscriptXSize:Ot.Var.Value
- ySubscriptYSize:Ot.Var.Value
- ySubscriptXOffset:Ot.Var.Value
- ySubscriptYOffset:Ot.Var.Value
- ySuperscriptXSize:Ot.Var.Value
- ySuperscriptYSize:Ot.Var.Value
- ySuperscriptXOffset:Ot.Var.Value
- ySuperscriptYOffset:Ot.Var.Value
- yStrikeoutSize:Ot.Var.Value
- yStrikeoutPosition:Ot.Var.Value
- sFamilyClass:number
- panose:Ot.Os2.Panose
- volatile ulUnicodeRange1:Ot.Os2.UnicodeRange1
- volatile ulUnicodeRange2:Ot.Os2.UnicodeRange2
- volatile ulUnicodeRange3:Ot.Os2.UnicodeRange3
- volatile ulUnicodeRange4:Ot.Os2.UnicodeRange4
- achVendID:Tag
- fsSelection:Ot.Os2.FsSelection
- volatile usFirstCharIndex:Ot.Os2.CodePageRange1
- volatile usLastCharIndex:Ot.Os2.CodePageRange2
- sTypoAscender:Ot.Var.Value
- sTypoDescender:Ot.Var.Value
- sTypoLineGap:Ot.Var.Value
- usWinAscent:Ot.Var.Value
- usWinDescent:Ot.Var.Value
- Version 1 and up
- ulCodePageRange1:number
- ulCodePageRange2:number
- Version 4 and up
- sxHeight:Ot.Var.Value
- sCapHeight:Ot.Var.Value
- usDefaultChar:number
- usBreakChar:number
- usMaxContext:number
- Version 5 and up
- usLowerOpticalPointSize:number
- usUpperOpticalPointSize:number
Support Types
Class Ot.Os2.Panose
Properties
- bFamilyType:number
- bSerifStyle:number
- bWeight:number
- bProportion:number
- bContrast:number
- bStrokeVariation:number
- bArmStyle:number
- bLetterform:number
- bMidline:number
- bXHeight:number
Enumeration Ot.Os2.FsType
- InstallableEmbedding = Bit 0 (
1 << 0) - RestrictedLicense = Bit 1 (
1 << 1) - PreviewPrintLicense = Bit 2 (
1 << 2) - EditableEmbedding = Bit 3 (
1 << 3) - Reserved4 = Bit 4 (
1 << 4) - Reserved5 = Bit 5 (
1 << 5) - Reserved6 = Bit 6 (
1 << 6) - Reserved7 = Bit 7 (
1 << 7) - NoSubsetting = Bit 8 (
1 << 8) - BitmapEmbeddingOnly = Bit 9 (
1 << 9)
Enumeration Ot.Os2.FsSelection
- ITALIC = Bit 0 (
1 << 0) - UNDERSCORE = Bit 1 (
1 << 1) - NEGATIVE = Bit 2 (
1 << 2) - OUTLINED = Bit 3 (
1 << 3) - STRIKEOUT = Bit 4 (
1 << 4) - BOLD = Bit 5 (
1 << 5) - REGULAR = Bit 6 (
1 << 6) - USE_TYPO_METRICS = Bit 7 (
1 << 7) - WWS = Bit 8 (
1 << 8) - OBLIQUE = Bit 9 (
1 << 9)
Codepage and Unicode Range Enumerations
Enumeration Ot.Os2.CodePageRange1
- CP1252 = Bit 0 (
1 << 0) - CP1250 = Bit 1 (
1 << 1) - CP1251 = Bit 2 (
1 << 2) - CP1253 = Bit 3 (
1 << 3) - CP1254 = Bit 4 (
1 << 4) - CP1255 = Bit 5 (
1 << 5) - CP1256 = Bit 6 (
1 << 6) - CP1257 = Bit 7 (
1 << 7) - CP1258 = Bit 8 (
1 << 8) - Ansi1 = Bit 9 (
1 << 9) - Ansi2 = Bit 10 (
1 << 10) - Ansi3 = Bit 11 (
1 << 11) - Ansi4 = Bit 12 (
1 << 12) - Ansi5 = Bit 13 (
1 << 13) - Ansi6 = Bit 14 (
1 << 14) - Ansi7 = Bit 15 (
1 << 15) - CP874 = Bit 16 (
1 << 16) - CP932 = Bit 17 (
1 << 17) - CP936 = Bit 18 (
1 << 18) - CP949 = Bit 19 (
1 << 19) - CP950 = Bit 20 (
1 << 20) - CP1361 = Bit 21 (
1 << 21) - Oem1 = Bit 22 (
1 << 22) - Oem2 = Bit 23 (
1 << 23) - Oem3 = Bit 24 (
1 << 24) - Oem4 = Bit 25 (
1 << 25) - Oem5 = Bit 26 (
1 << 26) - Oem6 = Bit 27 (
1 << 27) - Oem7 = Bit 28 (
1 << 28) - MacRoman = Bit 29 (
1 << 29) - Oem = Bit 30 (
1 << 30) - Symbol = Bit 31 (
1 << 31)
Enumeration Ot.Os2.CodePageRange2
- Oem8 = Bit 0 (
1 << 0) - Oem9 = Bit 1 (
1 << 1) - Oem10 = Bit 2 (
1 << 2) - Oem11 = Bit 3 (
1 << 3) - Oem12 = Bit 4 (
1 << 4) - Oem13 = Bit 5 (
1 << 5) - Oem14 = Bit 6 (
1 << 6) - Oem15 = Bit 7 (
1 << 7) - Oem16 = Bit 8 (
1 << 8) - Oem17 = Bit 9 (
1 << 9) - Oem18 = Bit 10 (
1 << 10) - Oem19 = Bit 11 (
1 << 11) - Oem20 = Bit 12 (
1 << 12) - Oem21 = Bit 13 (
1 << 13) - Oem22 = Bit 14 (
1 << 14) - Oem23 = Bit 15 (
1 << 15) - CP869 = Bit 16 (
1 << 16) - CP866 = Bit 17 (
1 << 17) - CP865 = Bit 18 (
1 << 18) - CP864 = Bit 19 (
1 << 19) - CP863 = Bit 20 (
1 << 20) - CP862 = Bit 21 (
1 << 21) - CP861 = Bit 22 (
1 << 22) - CP860 = Bit 23 (
1 << 23) - CP857 = Bit 24 (
1 << 24) - CP855 = Bit 25 (
1 << 25) - CP852 = Bit 26 (
1 << 26) - CP775 = Bit 27 (
1 << 27) - CP737 = Bit 28 (
1 << 28) - CP708 = Bit 29 (
1 << 29) - CP850 = Bit 30 (
1 << 30) - CP437 = Bit 31 (
1 << 31)
Enumeration Ot.Os2.UnicodeRange1
- BasicLatin = Bit 0 (
1 << 0) - Latin1Supplement = Bit 1 (
1 << 1) - LatinExtendedA = Bit 2 (
1 << 2) - LatinExtendedB = Bit 3 (
1 << 3) - Phonetics = Bit 4 (
1 << 4) - SpacingModifiers = Bit 5 (
1 << 5) - CombiningDiacriticalMarks = Bit 6 (
1 << 6) - GreekAndCoptic = Bit 7 (
1 << 7) - Coptic = Bit 8 (
1 << 8) - Cyrillic = Bit 9 (
1 << 9) - Armenian = Bit 10 (
1 << 10) - Hebrew = Bit 11 (
1 << 11) - Vai = Bit 12 (
1 << 12) - Arabic = Bit 13 (
1 << 13) - NKo = Bit 14 (
1 << 14) - Devanagari = Bit 15 (
1 << 15) - Bengali = Bit 16 (
1 << 16) - Gurmukhi = Bit 17 (
1 << 17) - Gujarati = Bit 18 (
1 << 18) - Oriya = Bit 19 (
1 << 19) - Tamil = Bit 20 (
1 << 20) - Telugu = Bit 21 (
1 << 21) - Kannada = Bit 22 (
1 << 22) - Malayalam = Bit 23 (
1 << 23) - Thai = Bit 24 (
1 << 24) - Lao = Bit 25 (
1 << 25) - Georgian = Bit 26 (
1 << 26) - Balinese = Bit 27 (
1 << 27) - HangulJamo = Bit 28 (
1 << 28) - LatinExtendedAdditional = Bit 29 (
1 << 29) - GreekExtended = Bit 30 (
1 << 30) - Punctuations = Bit 31 (
1 << 31)
Enumeration Ot.Os2.UnicodeRange2
- SuperscriptsAndSubscripts = Bit 0 (
1 << 0) - CurrencySymbols = Bit 1 (
1 << 1) - CombiningDiacriticalMarksForSymbols = Bit 2 (
1 << 2) - LetterLikeSymbols = Bit 3 (
1 << 3) - NumberForms = Bit 4 (
1 << 4) - Arrows = Bit 5 (
1 << 5) - MathematicalOperators = Bit 6 (
1 << 6) - MiscellaneousTechnical = Bit 7 (
1 << 7) - ControlPictures = Bit 8 (
1 << 8) - OpticalCharacterRecognition = Bit 9 (
1 << 9) - EnclosedAlphanumerics = Bit 10 (
1 << 10) - BoxDrawing = Bit 11 (
1 << 11) - BlockElements = Bit 12 (
1 << 12) - GeometricShapes = Bit 13 (
1 << 13) - MiscellaneousSymbols = Bit 14 (
1 << 14) - Dingbats = Bit 15 (
1 << 15) - CJKSymbolsAndPunctuation = Bit 16 (
1 << 16) - Hiragana = Bit 17 (
1 << 17) - Katakana = Bit 18 (
1 << 18) - Bopomofo = Bit 19 (
1 << 19) - HangulCompatibilityJamo = Bit 20 (
1 << 20) - Phagspa = Bit 21 (
1 << 21) - EnclosedCJKLettersAndMonths = Bit 22 (
1 << 22) - CJKCompatibility = Bit 23 (
1 << 23) - HangulSyllables = Bit 24 (
1 << 24) - NonPlane0 = Bit 25 (
1 << 25) - Phoenician = Bit 26 (
1 << 26) - CJKUnifiedIdeographs = Bit 27 (
1 << 27) - PrivateUseAreaP0 = Bit 28 (
1 << 28) - CJKStrokes = Bit 29 (
1 << 29) - AlphabeticPresentationForms = Bit 30 (
1 << 30) - ArabicPresentationFormsA = Bit 31 (
1 << 31)
Enumeration Ot.Os2.UnicodeRange3
- CombiningHalfMarks = Bit 0 (
1 << 0) - VerticalFormsAndCJKCompatibilityForms = Bit 1 (
1 << 1) - SmallFormVariants = Bit 2 (
1 << 2) - ArabicPresentationFormsB = Bit 3 (
1 << 3) - HalfWidthAndFullWidthForms = Bit 4 (
1 << 4) - Specials = Bit 5 (
1 << 5) - Tibetan = Bit 6 (
1 << 6) - Syriac = Bit 7 (
1 << 7) - Thaana = Bit 8 (
1 << 8) - Sinhala = Bit 9 (
1 << 9) - Myanmar = Bit 10 (
1 << 10) - Ethiopic = Bit 11 (
1 << 11) - Cherokee = Bit 12 (
1 << 12) - UnifiedCanadianAboriginalSyllabics = Bit 13 (
1 << 13) - Ogham = Bit 14 (
1 << 14) - Runic = Bit 15 (
1 << 15) - Khmer = Bit 16 (
1 << 16) - Mongolian = Bit 17 (
1 << 17) - BraillePatterns = Bit 18 (
1 << 18) - YiSyllables = Bit 19 (
1 << 19) - Tagalog = Bit 20 (
1 << 20) - OldItalic = Bit 21 (
1 << 21) - Gothic = Bit 22 (
1 << 22) - Deseret = Bit 23 (
1 << 23) - MusicalSymbols = Bit 24 (
1 << 24) - MathematicalAlphanumericSymbols = Bit 25 (
1 << 25) - PrivateUseP15AndP16 = Bit 26 (
1 << 26) - VariationSelectors = Bit 27 (
1 << 27) - Tags = Bit 28 (
1 << 28) - Limbu = Bit 29 (
1 << 29) - TaiLe = Bit 30 (
1 << 30) - NewTaiLue = Bit 31 (
1 << 31)
Enumeration Ot.Os2.UnicodeRange4
- Buginese = Bit 0 (
1 << 0) - Glagolitic = Bit 1 (
1 << 1) - Tifinagh = Bit 2 (
1 << 2) - YijingHexagramSymbols = Bit 3 (
1 << 3) - SylotiNagri = Bit 4 (
1 << 4) - LinearBSyllabaryIdeogramsAndAegeanNumbers = Bit 5 (
1 << 5) - AncientGreekNumbers = Bit 6 (
1 << 6) - Ugaritic = Bit 7 (
1 << 7) - OldPersian = Bit 8 (
1 << 8) - Shavian = Bit 9 (
1 << 9) - Osmanya = Bit 10 (
1 << 10) - CypriotSyllabary = Bit 11 (
1 << 11) - Kharoshthi = Bit 12 (
1 << 12) - TaiXuanJingSymbols = Bit 13 (
1 << 13) - Cuneiform = Bit 14 (
1 << 14) - CountingRodNumerals = Bit 15 (
1 << 15) - Sundanese = Bit 16 (
1 << 16) - Lepcha = Bit 17 (
1 << 17) - OlChiki = Bit 18 (
1 << 18) - Saurashtra = Bit 19 (
1 << 19) - KayahLi = Bit 20 (
1 << 20) - Rejang = Bit 21 (
1 << 21) - Cham = Bit 22 (
1 << 22) - AncientSymbols = Bit 23 (
1 << 23) - PhaistosDisc = Bit 24 (
1 << 24) - CarianAndLycian = Bit 25 (
1 << 25) - DominoAndMahjongTiles = Bit 26 (
1 << 26)