/*
* Copyright 2012 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef SkOTTable_OS_2_V4_DEFINED
#define SkOTTable_OS_2_V4_DEFINED
#include "SkEndian.h"
#include "SkIBMFamilyClass.h"
#include "SkOTTableTypes.h"
#include "SkPanose.h"
#include "SkTypedEnum.h"
#pragma pack(push, 1)
struct SkOTTableOS2_V4 {
SK_OT_USHORT version;
static const SK_OT_USHORT VERSION = SkTEndian_SwapBE16(4);
SK_OT_SHORT xAvgCharWidth;
struct WeightClass {
SK_TYPED_ENUM(Value, SK_OT_USHORT,
((Thin, SkTEndian_SwapBE16(100)))
((ExtraLight, SkTEndian_SwapBE16(200)))
((Light, SkTEndian_SwapBE16(300)))
((Normal, SkTEndian_SwapBE16(400)))
((Medium, SkTEndian_SwapBE16(500)))
((SemiBold, SkTEndian_SwapBE16(600)))
((Bold, SkTEndian_SwapBE16(700)))
((ExtraBold, SkTEndian_SwapBE16(800)))
((Black, SkTEndian_SwapBE16(900)))
SK_SEQ_END,
SK_SEQ_END)
SK_OT_USHORT value;
} usWeightClass;
struct WidthClass {
SK_TYPED_ENUM(Value, SK_OT_USHORT,
((UltraCondensed, SkTEndian_SwapBE16(1)))
((ExtraCondensed, SkTEndian_SwapBE16(2)))
((Condensed, SkTEndian_SwapBE16(3)))
((SemiCondensed, SkTEndian_SwapBE16(4)))
((Medium, SkTEndian_SwapBE16(5)))
((SemiExpanded, SkTEndian_SwapBE16(6)))
((Expanded, SkTEndian_SwapBE16(7)))
((ExtraExpanded, SkTEndian_SwapBE16(8)))
((UltraExpanded, SkTEndian_SwapBE16(9)))
SK_SEQ_END,
(value)SK_SEQ_END)
} usWidthClass;
union Type {
struct Field {
//8-15
SK_OT_BYTE_BITFIELD(
NoSubsetting,
Bitmap,
Reserved10,
Reserved11,
Reserved12,
Reserved13,
Reserved14,
Reserved15)
//0-7
SK_OT_BYTE_BITFIELD(
Reserved00,
Restricted,
PreviewPrint,
Editable,
Reserved04,
Reserved05,
Reserved06,
Reserved07)
} field;
struct Raw {
static const SK_OT_USHORT Installable = 0;
static const SK_OT_USHORT RestrictedMask = SkOTSetUSHORTBit<1>::value;
static const SK_OT_USHORT PreviewPrintMask = SkOTSetUSHORTBit<2>::value;
static const SK_OT_USHORT EditableMask = SkOTSetUSHORTBit<3>::value;
static const SK_OT_USHORT NoSubsettingMask = SkOTSetUSHORTBit<8>::value;
static const SK_OT_USHORT BitmapMask = SkOTSetUSHORTBit<9>::value;
SK_OT_USHORT value;
} raw;
} fsType;
SK_OT_SHORT ySubscriptXSize;
SK_OT_SHORT ySubscriptYSize;
SK_OT_SHORT ySubscriptXOffset;
SK_OT_SHORT ySubscriptYOffset;
SK_OT_SHORT ySuperscriptXSize;
SK_OT_SHORT ySuperscriptYSize;
SK_OT_SHORT ySuperscriptXOffset;
SK_OT_SHORT ySuperscriptYOffset;
SK_OT_SHORT yStrikeoutSize;
SK_OT_SHORT yStrikeoutPosition;
SkIBMFamilyClass sFamilyClass;
SkPanose panose;
union UnicodeRange {
struct Field {
//l0 24-31
SK_OT_BYTE_BITFIELD(
Thai,
Lao,
Georgian,
Balinese,
HangulJamo,
LatinExtendedAdditional,
GreekExtended,
GeneralPunctuation)
//l0 16-23
SK_OT_BYTE_BITFIELD(
Bengali,
Gurmukhi,
Gujarati,
Oriya,
Tamil,
Telugu,
Kannada,
Malayalam)
//l0 8-15
SK_OT_BYTE_BITFIELD(
Coptic,
Cyrillic,
Armenian,
Hebrew,
Vai,
Arabic,
NKo,
Devanagari)
//l0 0-7
SK_OT_BYTE_BITFIELD(
BasicLatin,
Latin1Supplement,
LatinExtendedA,
LatinExtendedB,
IPAExtensions,
SpacingModifierLetters,
CombiningDiacriticalMarks,
GreekAndCoptic)
//l1 24-31
SK_OT_BYTE_BITFIELD(
Hangul,
NonPlane0,
Phoenician,
CJKUnifiedIdeographs,
PrivateUseArea,
CJKCompatibilityIdeographs,
AlphabeticPresentationForms,
ArabicPresentationFormsA)
//l1 16-23
SK_OT_BYTE_BITFIELD(
CJKSymbolsAndPunctuation,
Hiragana,
Katakana,
Bopomofo,
HangulCompatibilityJamo,
PhagsPa,
EnclosedCJKLettersAndMonths,
CJKCompatibility)
//l1 8-15
SK_OT_BYTE_BITFIELD(
ControlPictures,
OpticalCharacterRecognition,
EnclosedAlphanumerics,
BoxDrawing,
BlockElements,
GeometricShapes,
MiscellaneousSymbols,
Dingbats)
//l1 0-7
SK_OT_BYTE_BITFIELD(
SuperscriptsAndSubscripts,
CurrencySymbols,
CombiningDiacriticalMarksForSymbols,
LetterlikeSymbols,
NumberForms,
Arrows,
MathematicalOperators,
MiscellaneousTechnical)
//l2 24-31
SK_OT_BYTE_BITFIELD(
MusicalSymbols,
MathematicalAlphanumericSymbols,
PrivateUse,
VariationSelectors,
Tags,
Limbu,
TaiLe,
NewTaiLue)
//l2 16-23
SK_OT_BYTE_BITFIELD(
Khmer,
Mongolian,
Braille,
Yi,
Tagalog_Hanunoo_Buhid_Tagbanwa,
OldItalic,
Gothic,
Deseret)
//l2 8-15
SK_OT_BYTE_BITFIELD(
Thaana,
Sinhala,
Myanmar,
Ethiopic,
Cherokee,
UnifiedCanadianSyllabics,
Ogham,
Runic)
//l2 0-7
SK_OT_BYTE_BITFIELD(
CombiningHalfMarks,
CJKCompatibilityForms,
SmallFormVariants,
ArabicPresentationFormsB,
HalfwidthAndFullwidthForms,
Specials,
Tibetan,
Syriac)
//l3 24-31
SK_OT_BYTE_BITFIELD(
PhaistosDisc,
Carian_Lycian_Lydian,
DominoTiles_MahjongTiles,
Reserved123,
Reserved124,
Reserved125,
Reserved126,
Reserved127)
//l3 16-23
SK_OT_BYTE_BITFIELD(
Sundanese,
Lepcha,
OlChiki,
Saurashtra,
KayahLi,
Rejang,
Cham,
AncientSymbols)
//l3 8-15
SK_OT_BYTE_BITFIELD(
OldPersian,
Shavian,
Osmanya,
CypriotSyllabary,
Kharoshthi,
TaiXuanJingSymbols,
Cuneiform,
CountingRodNumerals)
//l3 0-7
SK_OT_BYTE_BITFIELD(
Buginese,
Glagolitic,
Tifinagh,
YijingHexagramSymbols,
SylotiNagri,
LinearB_AegeanNumbers,
AncientGreekNumbers,
Ugaritic)
} field;
struct Raw {
struct l0 {
static const SK_OT_ULONG BasicLatinMask = SkOTSetULONGBit<0>::value;
static const SK_OT_ULONG Latin1SupplementMask = SkOTSetULONGBit<1>::value;
static const SK_OT_ULONG LatinExtendedAMask = SkOTSetULONGBit<2>::value;
static const SK_OT_ULONG LatinExtendedBMask = SkOTSetULONGBit<3>::value;
static const SK_OT_ULONG IPAExtensionsMask = SkOTSetULONGBit<4>::value;
static const SK_OT_ULONG SpacingModifierLettersMask = SkOTSetULONGBit<5>::value;
static const SK_OT_ULONG CombiningDiacriticalMarksMask = SkOTSetULONGBit<6>::value;
static const SK_OT_ULONG GreekAndCopticMask = SkOTSetULONGBit<7>::value;
static const SK_OT_ULONG CopticMask = SkOTSetULONGBit<8>::value;
static const SK_OT_ULONG CyrillicMask = SkOTSetULONGBit<9>::value;
static const SK_OT_ULONG ArmenianMask = SkOTSetULONGBit<10>::value;
static const SK_OT_ULONG HebrewMask = SkOTSetULONGBit<11>::value;
static const SK_OT_ULONG VaiMask = SkOTSetULONGBit<12>::value;
static const SK_OT_ULONG ArabicMask = SkOTSetULONGBit<13>::value;
static const SK_OT_ULONG NKoMask = SkOTSetULONGBit<14>::value;
static const SK_OT_ULONG DevanagariMask = SkOTSetULONGBit<15>::value;
static const SK_OT_ULONG BengaliMask = SkOTSetULONGBit<16>::value;
static const SK_OT_ULONG GurmukhiMask = SkOTSetULONGBit<17>::value;
static const SK_OT_ULONG GujaratiMask = SkOTSetULONGBit<18>::value;
static const SK_OT_ULONG OriyaMask = SkOTSetULONGBit<19>::value;
static const SK_OT_ULONG TamilMask = SkOTSetULONGBit<20>::value;
static const SK_OT_ULONG TeluguMask = SkOTSetULONGBit<21>::value;
static const SK_OT_ULONG KannadaMask = SkOTSetULONGBit<22>::value;
static const SK_OT_ULONG MalayalamMask = SkOTSetULONGBit<23>::value;
static const SK_OT_ULONG ThaiMask = SkOTSetULONGBit<24>::value;
static const SK_OT_ULONG LaoMask = SkOTSetULONGBit<25>::value;
static const SK_OT_ULONG GeorgianMask = SkOTSetULONGBit<26>::value;
static const SK_OT_ULONG BalineseMask = SkOTSetULONGBit<27>::value;
static const SK_OT_ULONG HangulJamoMask = SkOTSetULONGBit<28>::value;
static const SK_OT_ULONG LatinExtendedAdditionalMask = SkOTSetULONGBit<29>::value;
static const SK_OT_ULONG GreekExtendedMask = SkOTSetULONGBit<30>::value;
static const SK_OT_ULONG GeneralPunctuationMask = SkOTSetULONGBit<31>::value;
};
struct l1 {
static const SK_OT_ULONG SuperscriptsAndSubscriptsMask = SkOTSetULONGBit<32 - 32>::value;
static const SK_OT_ULONG CurrencySymbolsMask = SkOTSetULONGBit<33 - 32>::value;
static const SK_OT_ULONG CombiningDiacriticalMarksForSymbolsMask = SkOTSetULONGBit<34 - 32>::value;
static const SK_OT_ULONG LetterlikeSymbolsMask = SkOTSetULONGBit<35 - 32>::value;
static const SK_OT_ULONG NumberFormsMask = SkOTSetULONGBit<36 - 32>::value;
static const SK_OT_ULONG ArrowsMask = SkOTSetULONGBit<37 - 32>::value;
static const SK_OT_ULONG MathematicalOperatorsMask = SkOTSetULONGBit<38 - 32>::value;
static const SK_OT_ULONG MiscellaneousTechnicalMask = SkOTSetULONGBit<39 - 32>::value;
static const SK_OT_ULONG ControlPicturesMask = SkOTSetULONGBit<40 - 32>::value;
static const SK_OT_ULONG OpticalCharacterRecognitionMask = SkOTSetULONGBit<41 - 32>::value;
static const SK_OT_ULONG EnclosedAlphanumericsMask = SkOTSetULONGBit<42 - 32>::value;
static const SK_OT_ULONG BoxDrawingMask = SkOTSetULONGBit<43 - 32>::value;
static const SK_OT_ULONG BlockElementsMask = SkOTSetULONGBit<44 - 32>::value;
static const SK_OT_ULONG GeometricShapesMask = SkOTSetULONGBit<45 - 32>::value;
static const SK_OT_ULONG MiscellaneousSymbolsMask = SkOTSetULONGBit<46 - 32>::value;
static const SK_OT_ULONG DingbatsMask = SkOTSetULONGBit<47 - 32>::value;
static const SK_OT_ULONG CJKSymbolsAndPunctuationMask = SkOTSetULONGBit<48 - 32>::value;
static const SK_OT_ULONG HiraganaMask = SkOTSetULONGBit<49 - 32>::value;
static const SK_OT_ULONG KatakanaMask = SkOTSetULONGBit<50 - 32>::value;
static const SK_OT_ULONG BopomofoMask = SkOTSetULONGBit<51 - 32>::value;
static const SK_OT_ULONG HangulCompatibilityJamoMask = SkOTSetULONGBit<52 - 32>::value;
static const SK_OT_ULONG PhagsPaMask = SkOTSetULONGBit<53 - 32>::value;
static const SK_OT_ULONG EnclosedCJKLettersAndMonthsMask = SkOTSetULONGBit<54 - 32>::value;
static const SK_OT_ULONG CJKCompatibilityMask = SkOTSetULONGBit<55 - 32>::value;
static const SK_OT_ULONG HangulMask = SkOTSetULONGBit<56 - 32>::value;
static const SK_OT_ULONG NonPlane0Mask = SkOTSetULONGBit<57 - 32>::value;
static const SK_OT_ULONG PhoenicianMask = SkOTSetULONGBit<58 - 32>::value;
static const SK_OT_ULONG CJKUnifiedIdeographsMask = SkOTSetULONGBit<59 - 32>::value;
static const SK_OT_ULONG PrivateUseAreaMask = SkOTSetULONGBit<60 - 32>::value;
static const SK_OT_ULONG CJKCompatibilityIdeographsMask = SkOTSetULONGBit<61 - 32>::value;
static const SK_OT_ULONG AlphabeticPresentationFormsMask = SkOTSetULONGBit<62 - 32>::value;
static const SK_OT_ULONG ArabicPresentationFormsAMask = SkOTSetULONGBit<63 - 32>::value;
};
struct l2 {
static const SK_OT_ULONG CombiningHalfMarksMask = SkOTSetULONGBit<64 - 64>::value;
static const SK_OT_ULONG CJKCompatibilityFormsMask = SkOTSetULONGBit<65 - 64>::value;
static const SK_OT_ULONG SmallFormVariantsMask = SkOTSetULONGBit<66 - 64>::value;
static const SK_OT_ULONG ArabicPresentationFormsBMask = SkOTSetULONGBit<67 - 64>::value;
static const SK_OT_ULONG HalfwidthAndFullwidthFormsMask = SkOTSetULONGBit<68 - 64>::value;
static const SK_OT_ULONG SpecialsMask = SkOTSetULONGBit<69 - 64>::value;
static const SK_OT_ULONG TibetanMask = SkOTSetULONGBit<70 - 64>::value;
static const SK_OT_ULONG SyriacMask = SkOTSetULONGBit<71 - 64>::value;
static const SK_OT_ULONG ThaanaMask = SkOTSetULONGBit<72 - 64>::value;
static const SK_OT_ULONG SinhalaMask = SkOTSetULONGBit<73 - 64>::value;
static const SK_OT_ULONG MyanmarMask = SkOTSetULONGBit<74 - 64>::value;
static const SK_OT_ULONG EthiopicMask = SkOTSetULONGBit<75 - 64>::value;
static const SK_OT_ULONG CherokeeMask = SkOTSetULONGBit<76 - 64>::value;
static const SK_OT_ULONG UnifiedCanadianSyllabicsMask = SkOTSetULONGBit<77 - 64>::value;
static const SK_OT_ULONG OghamMask = SkOTSetULONGBit<78 - 64>::value;
static const SK_OT_ULONG RunicMask = SkOTSetULONGBit<79 - 64>::value;
static const SK_OT_ULONG KhmerMask = SkOTSetULONGBit<80 - 64>::value;
static const SK_OT_ULONG MongolianMask = SkOTSetULONGBit<81 - 64>::value;
static const SK_OT_ULONG BrailleMask = SkOTSetULONGBit<82 - 64>::value;
static const SK_OT_ULONG YiMask = SkOTSetULONGBit<83 - 64>::value;
static const SK_OT_ULONG Tagalog_Hanunoo_Buhid_TagbanwaMask = SkOTSetULONGBit<84 - 64>::value;
static const SK_OT_ULONG OldItalicMask = SkOTSetULONGBit<85 - 64>::value;
static const SK_OT_ULONG GothicMask = SkOTSetULONGBit<86 - 64>::value;
static const SK_OT_ULONG DeseretMask = SkOTSetULONGBit<87 - 64>::value;
static const SK_OT_ULONG MusicalSymbolsMask = SkOTSetULONGBit<88 - 64>::value;
static const SK_OT_ULONG MathematicalAlphanumericSymbolsMask = SkOTSetULONGBit<89 - 64>::value;
static const SK_OT_ULONG PrivateUseMask = SkOTSetULONGBit<90 - 64>::value;
static const SK_OT_ULONG VariationSelectorsMask = SkOTSetULONGBit<91 - 64>::value;
static const SK_OT_ULONG TagsMask = SkOTSetULONGBit<92 - 64>::value;
static const SK_OT_ULONG LimbuMask = SkOTSetULONGBit<93 - 64>::value;
static const SK_OT_ULONG TaiLeMask = SkOTSetULONGBit<94 - 64>::value;
static const SK_OT_ULONG NewTaiLueMask = SkOTSetULONGBit<95 - 64>::value;
};
struct l3 {
static const SK_OT_ULONG BugineseMask = SkOTSetULONGBit<96 - 96>::value;
static const SK_OT_ULONG GlagoliticMask = SkOTSetULONGBit<97 - 96>::value;
static const SK_OT_ULONG TifinaghMask = SkOTSetULONGBit<98 - 96>::value;
static const SK_OT_ULONG YijingHexagramSymbolsMask = SkOTSetULONGBit<99 - 96>::value;
static const SK_OT_ULONG SylotiNagriMask = SkOTSetULONGBit<100 - 96>::value;
static const SK_OT_ULONG LinearB_AegeanNumbersMask = SkOTSetULONGBit<101 - 96>::value;
static const SK_OT_ULONG AncientGreekNumbersMask = SkOTSetULONGBit<102 - 96>::value;
static const SK_OT_ULONG UgariticMask = SkOTSetULONGBit<103 - 96>::value;
static const SK_OT_ULONG OldPersianMask = SkOTSetULONGBit<104 - 96>::value;
static const SK_OT_ULONG ShavianMask = SkOTSetULONGBit<105 - 96>::value;
static const SK_OT_ULONG OsmanyaMask = SkOTSetULONGBit<106 - 96>::value;
static const SK_OT_ULONG CypriotSyllabaryMask = SkOTSetULONGBit<107 - 96>::value;
static const SK_OT_ULONG KharoshthiMask = SkOTSetULONGBit<108 - 96>::value;
static const SK_OT_ULONG TaiXuanJingSymbolsMask = SkOTSetULONGBit<109 - 96>::value;
static const SK_OT_ULONG CuneiformMask = SkOTSetULONGBit<110 - 96>::value;
static const SK_OT_ULONG CountingRodNumeralsMask = SkOTSetULONGBit<111 - 96>::value;
static const SK_OT_ULONG SundaneseMask = SkOTSetULONGBit<112 - 96>::value;
static const SK_OT_ULONG LepchaMask = SkOTSetULONGBit<113 - 96>::value;
static const SK_OT_ULONG OlChikiMask = SkOTSetULONGBit<114 - 96>::value;
static const SK_OT_ULONG SaurashtraMask = SkOTSetULONGBit<115 - 96>::value;
static const SK_OT_ULONG KayahLiMask = SkOTSetULONGBit<116 - 96>::value;
static const SK_OT_ULONG RejangMask = SkOTSetULONGBit<117 - 96>::value;
static const SK_OT_ULONG ChamMask = SkOTSetULONGBit<118 - 96>::value;
static const SK_OT_ULONG AncientSymbolsMask = SkOTSetULONGBit<119 - 96>::value;
static const SK_OT_ULONG PhaistosDiscMask = SkOTSetULONGBit<120 - 96>::value;
static const SK_OT_ULONG Carian_Lycian_LydianMask = SkOTSetULONGBit<121 - 96>::value;
static const SK_OT_ULONG DominoTiles_MahjongTilesMask = SkOTSetULONGBit<122 - 96>::value;
};
SK_OT_ULONG value[4];
} raw;
} ulUnicodeRange;
SK_OT_CHAR achVendID[4];
union Selection {
struct Field {
//8-15
SK_OT_BYTE_BITFIELD(
WWS,
Oblique,
Reserved10,
Reserved11,
Reserved12,
Reserved13,
Reserved14,
Reserved15)
//0-7
SK_OT_BYTE_BITFIELD(
Italic,
Underscore,
Negative,
Outlined,
Strikeout,
Bold,
Regular,
UseTypoMetrics)
} field;
struct Raw {
static const SK_OT_USHORT ItalicMask = SkOTSetUSHORTBit<0>::value;
static const SK_OT_USHORT UnderscoreMask = SkOTSetUSHORTBit<1>::value;
static const SK_OT_USHORT NegativeMask = SkOTSetUSHORTBit<2>::value;
static const SK_OT_USHORT OutlinedMask = SkOTSetUSHORTBit<3>::value;
static const SK_OT_USHORT StrikeoutMask = SkOTSetUSHORTBit<4>::value;
static const SK_OT_USHORT BoldMask = SkOTSetUSHORTBit<5>::value;
static const SK_OT_USHORT RegularMask = SkOTSetUSHORTBit<6>::value;
static const SK_OT_USHORT UseTypoMetricsMask = SkOTSetUSHORTBit<7>::value;
static const SK_OT_USHORT WWSMask = SkOTSetUSHORTBit<8>::value;
static const SK_OT_USHORT ObliqueMask = SkOTSetUSHORTBit<9>::value;
SK_OT_USHORT value;
} raw;
} fsSelection;
SK_OT_USHORT usFirstCharIndex;
SK_OT_USHORT usLastCharIndex;
//version0
SK_OT_SHORT sTypoAscender;
SK_OT_SHORT sTypoDescender;
SK_OT_SHORT sTypoLineGap;
SK_OT_USHORT usWinAscent;
SK_OT_USHORT usWinDescent;
//version1
union CodePageRange {
struct Field {
//l0 24-31
SK_OT_BYTE_BITFIELD(
Reserved24,
Reserved25,
Reserved26,
Reserved27,
Reserved28,
MacintoshCharacterSet,
OEMCharacterSet,
SymbolCharacterSet)
//l0 16-23
SK_OT_BYTE_BITFIELD(
Thai_874,
JISJapan_932,
ChineseSimplified_936,
KoreanWansung_949,
ChineseTraditional_950,
KoreanJohab_1361,
Reserved22,
Reserved23)
//l0 8-15
SK_OT_BYTE_BITFIELD(
Vietnamese,
Reserved09,
Reserved10,
Reserved11,
Reserved12,
Reserved13,
Reserved14,
Reserved15)
//l0 0-7
SK_OT_BYTE_BITFIELD(
Latin1_1252,
Latin2EasternEurope_1250,
Cyrillic_1251,
Greek_1253,
Turkish_1254,
Hebrew_1255,
Arabic_1256,
WindowsBaltic_1257)
//l1 24-31
SK_OT_BYTE_BITFIELD(
IBMTurkish_857,
IBMCyrillic_855,
Latin2_852,
MSDOSBaltic_775,
Greek_737,
Arabic_708,
WELatin1_850,
US_437)
//l1 16-23
SK_OT_BYTE_BITFIELD(
IBMGreek_869,
MSDOSRussian_866,
MSDOSNordic_865,
Arabic_864,
MSDOSCanadianFrench_863,
Hebrew_862,
MSDOSIcelandic_861,
MSDOSPortuguese_860)
//l1 8-15
SK_OT_BYTE_BITFIELD(
Reserved40,
Reserved41,
Reserved42,
Reserved43,
Reserved44,
Reserved45,
Reserved46,
Reserved47)
//l1 0-7
SK_OT_BYTE_BITFIELD(
Reserved32,
Reserved33,
Reserved34,
Reserved35,
Reserved36,
Reserved37,
Reserved38,
Reserved39)
} field;
struct Raw {
struct l0 {
static const SK_OT_ULONG Latin1_1252Mask = SkOTSetULONGBit<0>::value;
static const SK_OT_ULONG Latin2EasternEurope_1250Mask = SkOTSetULONGBit<1>::value;
static const SK_OT_ULONG Cyrillic_1251Mask = SkOTSetULONGBit<2>::value;
static const SK_OT_ULONG Greek_1253Mask = SkOTSetULONGBit<3>::value;
static const SK_OT_ULONG Turkish_1254Mask = SkOTSetULONGBit<4>::value;
static const SK_OT_ULONG Hebrew_1255Mask = SkOTSetULONGBit<5>::value;
static const SK_OT_ULONG Arabic_1256Mask = SkOTSetULONGBit<6>::value;
static const SK_OT_ULONG WindowsBaltic_1257Mask = SkOTSetULONGBit<7>::value;
static const SK_OT_ULONG Vietnamese_1258Mask = SkOTSetULONGBit<8>::value;
static const SK_OT_ULONG Thai_874Mask = SkOTSetULONGBit<16>::value;
static const SK_OT_ULONG JISJapan_932Mask = SkOTSetULONGBit<17>::value;
static const SK_OT_ULONG ChineseSimplified_936Mask = SkOTSetULONGBit<18>::value;
static const SK_OT_ULONG KoreanWansung_949Mask = SkOTSetULONGBit<19>::value;
static const SK_OT_ULONG ChineseTraditional_950Mask = SkOTSetULONGBit<20>::value;
static const SK_OT_ULONG KoreanJohab_1361Mask = SkOTSetULONGBit<21>::value;
static const SK_OT_ULONG MacintoshCharacterSetMask = SkOTSetULONGBit<29>::value;
static const SK_OT_ULONG OEMCharacterSetMask = SkOTSetULONGBit<30>::value;
static const SK_OT_ULONG SymbolCharacterSetMask = SkOTSetULONGBit<31>::value;
};
struct l1 {
static const SK_OT_ULONG IBMGreek_869Mask = SkOTSetULONGBit<48 - 32>::value;
static const SK_OT_ULONG MSDOSRussian_866Mask = SkOTSetULONGBit<49 - 32>::value;
static const SK_OT_ULONG MSDOSNordic_865Mask = SkOTSetULONGBit<50 - 32>::value;
static const SK_OT_ULONG Arabic_864Mask = SkOTSetULONGBit<51 - 32>::value;
static const SK_OT_ULONG MSDOSCanadianFrench_863Mask = SkOTSetULONGBit<52 - 32>::value;
static const SK_OT_ULONG Hebrew_862Mask = SkOTSetULONGBit<53 - 32>::value;
static const SK_OT_ULONG MSDOSIcelandic_861Mask = SkOTSetULONGBit<54 - 32>::value;
static const SK_OT_ULONG MSDOSPortuguese_860Mask = SkOTSetULONGBit<55 - 32>::value;
static const SK_OT_ULONG IBMTurkish_857Mask = SkOTSetULONGBit<56 - 32>::value;
static const SK_OT_ULONG IBMCyrillic_855Mask = SkOTSetULONGBit<57 - 32>::value;
static const SK_OT_ULONG Latin2_852Mask = SkOTSetULONGBit<58 - 32>::value;
static const SK_OT_ULONG MSDOSBaltic_775Mask = SkOTSetULONGBit<59 - 32>::value;
static const SK_OT_ULONG Greek_737Mask = SkOTSetULONGBit<60 - 32>::value;
static const SK_OT_ULONG Arabic_708Mask = SkOTSetULONGBit<61 - 32>::value;
static const SK_OT_ULONG WELatin1_850Mask = SkOTSetULONGBit<62 - 32>::value;
static const SK_OT_ULONG US_437Mask = SkOTSetULONGBit<63 - 32>::value;
};
SK_OT_ULONG value[2];
} raw;
} ulCodePageRange;
//version2
SK_OT_SHORT sxHeight;
SK_OT_SHORT sCapHeight;
SK_OT_USHORT usDefaultChar;
SK_OT_USHORT usBreakChar;
SK_OT_USHORT usMaxContext;
};
#pragma pack(pop)
static_assert(sizeof(SkOTTableOS2_V4) == 96, "sizeof_SkOTTableOS2_V4_not_96");
#endif