1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/gfx/skia/trunk/src/sfnt/SkOTTable_OS_2_V1.h Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,518 @@ 1.4 +/* 1.5 + * Copyright 2012 Google Inc. 1.6 + * 1.7 + * Use of this source code is governed by a BSD-style license that can be 1.8 + * found in the LICENSE file. 1.9 + */ 1.10 + 1.11 +#ifndef SkOTTable_OS_2_V1_DEFINED 1.12 +#define SkOTTable_OS_2_V1_DEFINED 1.13 + 1.14 +#include "SkEndian.h" 1.15 +#include "SkIBMFamilyClass.h" 1.16 +#include "SkOTTableTypes.h" 1.17 +#include "SkPanose.h" 1.18 +#include "SkTypedEnum.h" 1.19 + 1.20 +#pragma pack(push, 1) 1.21 + 1.22 +struct SkOTTableOS2_V1 { 1.23 + SK_OT_USHORT version; 1.24 + static const SK_OT_USHORT VERSION = SkTEndian_SwapBE16(1); 1.25 + 1.26 + SK_OT_SHORT xAvgCharWidth; 1.27 + struct WeightClass { 1.28 + SK_TYPED_ENUM(Value, SK_OT_USHORT, 1.29 + ((Thin, SkTEndian_SwapBE16(100))) 1.30 + ((ExtraLight, SkTEndian_SwapBE16(200))) 1.31 + ((Light, SkTEndian_SwapBE16(300))) 1.32 + ((Normal, SkTEndian_SwapBE16(400))) 1.33 + ((Medium, SkTEndian_SwapBE16(500))) 1.34 + ((SemiBold, SkTEndian_SwapBE16(600))) 1.35 + ((Bold, SkTEndian_SwapBE16(700))) 1.36 + ((ExtraBold, SkTEndian_SwapBE16(800))) 1.37 + ((Black, SkTEndian_SwapBE16(900))) 1.38 + SK_SEQ_END, 1.39 + SK_SEQ_END) 1.40 + SK_OT_USHORT value; 1.41 + } usWeightClass; 1.42 + struct WidthClass { 1.43 + SK_TYPED_ENUM(Value, SK_OT_USHORT, 1.44 + ((UltraCondensed, SkTEndian_SwapBE16(1))) 1.45 + ((ExtraCondensed, SkTEndian_SwapBE16(2))) 1.46 + ((Condensed, SkTEndian_SwapBE16(3))) 1.47 + ((SemiCondensed, SkTEndian_SwapBE16(4))) 1.48 + ((Medium, SkTEndian_SwapBE16(5))) 1.49 + ((SemiExpanded, SkTEndian_SwapBE16(6))) 1.50 + ((Expanded, SkTEndian_SwapBE16(7))) 1.51 + ((ExtraExpanded, SkTEndian_SwapBE16(8))) 1.52 + ((UltraExpanded, SkTEndian_SwapBE16(9))) 1.53 + SK_SEQ_END, 1.54 + (value)SK_SEQ_END) 1.55 + } usWidthClass; 1.56 + union Type { 1.57 + struct Field { 1.58 + //8-15 1.59 + SK_OT_BYTE_BITFIELD( 1.60 + Reserved08, 1.61 + Reserved09, 1.62 + Reserved10, 1.63 + Reserved11, 1.64 + Reserved12, 1.65 + Reserved13, 1.66 + Reserved14, 1.67 + Reserved15) 1.68 + //0-7 1.69 + SK_OT_BYTE_BITFIELD( 1.70 + Reserved00, 1.71 + Restricted, 1.72 + PreviewPrint, 1.73 + Editable, 1.74 + Reserved04, 1.75 + Reserved05, 1.76 + Reserved06, 1.77 + Reserved07) 1.78 + } field; 1.79 + struct Raw { 1.80 + static const SK_OT_USHORT Installable = 0; 1.81 + static const SK_OT_USHORT RestrictedMask = SkOTSetUSHORTBit<1>::value; 1.82 + static const SK_OT_USHORT PreviewPrintMask = SkOTSetUSHORTBit<2>::value; 1.83 + static const SK_OT_USHORT EditableMask = SkOTSetUSHORTBit<3>::value; 1.84 + SK_OT_USHORT value; 1.85 + } raw; 1.86 + } fsType; 1.87 + SK_OT_SHORT ySubscriptXSize; 1.88 + SK_OT_SHORT ySubscriptYSize; 1.89 + SK_OT_SHORT ySubscriptXOffset; 1.90 + SK_OT_SHORT ySubscriptYOffset; 1.91 + SK_OT_SHORT ySuperscriptXSize; 1.92 + SK_OT_SHORT ySuperscriptYSize; 1.93 + SK_OT_SHORT ySuperscriptXOffset; 1.94 + SK_OT_SHORT ySuperscriptYOffset; 1.95 + SK_OT_SHORT yStrikeoutSize; 1.96 + SK_OT_SHORT yStrikeoutPosition; 1.97 + SkIBMFamilyClass sFamilyClass; 1.98 + SkPanose panose; 1.99 + union UnicodeRange { 1.100 + struct Field { 1.101 + //l0 24-31 1.102 + SK_OT_BYTE_BITFIELD( 1.103 + Thai, 1.104 + Lao, 1.105 + BasicGeorgian, 1.106 + GeorgianExtended, 1.107 + HangulJamo, 1.108 + LatinExtendedAdditional, 1.109 + GreekExtended, 1.110 + GeneralPunctuation) 1.111 + //l0 16-23 1.112 + SK_OT_BYTE_BITFIELD( 1.113 + Bengali, 1.114 + Gurmukhi, 1.115 + Gujarati, 1.116 + Oriya, 1.117 + Tamil, 1.118 + Telugu, 1.119 + Kannada, 1.120 + Malayalam) 1.121 + //l0 8-15 1.122 + SK_OT_BYTE_BITFIELD( 1.123 + GreekSymbolsAndCoptic, 1.124 + Cyrillic, 1.125 + Armenian, 1.126 + BasicHebrew, 1.127 + HebrewExtendedAB, 1.128 + BasicArabic, 1.129 + ArabicExtended, 1.130 + Devanagari) 1.131 + //l0 0-7 1.132 + SK_OT_BYTE_BITFIELD( 1.133 + BasicLatin, 1.134 + Latin1Supplement, 1.135 + LatinExtendedA, 1.136 + LatinExtendedB, 1.137 + IPAExtensions, 1.138 + SpacingModifierLetters, 1.139 + CombiningDiacriticalMarks, 1.140 + BasicGreek) 1.141 + 1.142 + //l1 24-31 1.143 + SK_OT_BYTE_BITFIELD( 1.144 + Hangul, 1.145 + Reserved057, 1.146 + Reserved058, 1.147 + CJKUnifiedIdeographs, 1.148 + PrivateUseArea, 1.149 + CJKCompatibilityIdeographs, 1.150 + AlphabeticPresentationForms, 1.151 + ArabicPresentationFormsA) 1.152 + //l1 16-23 1.153 + SK_OT_BYTE_BITFIELD( 1.154 + CJKSymbolsAndPunctuation, 1.155 + Hiragana, 1.156 + Katakana, 1.157 + Bopomofo, 1.158 + HangulCompatibilityJamo, 1.159 + CJKMiscellaneous, 1.160 + EnclosedCJKLettersAndMonths, 1.161 + CJKCompatibility) 1.162 + //l1 8-15 1.163 + SK_OT_BYTE_BITFIELD( 1.164 + ControlPictures, 1.165 + OpticalCharacterRecognition, 1.166 + EnclosedAlphanumerics, 1.167 + BoxDrawing, 1.168 + BlockElements, 1.169 + GeometricShapes, 1.170 + MiscellaneousSymbols, 1.171 + Dingbats) 1.172 + //l1 0-7 1.173 + SK_OT_BYTE_BITFIELD( 1.174 + SuperscriptsAndSubscripts, 1.175 + CurrencySymbols, 1.176 + CombiningDiacriticalMarksForSymbols, 1.177 + LetterlikeSymbols, 1.178 + NumberForms, 1.179 + Arrows, 1.180 + MathematicalOperators, 1.181 + MiscellaneousTechnical) 1.182 + 1.183 + //l2 24-31 1.184 + SK_OT_BYTE_BITFIELD( 1.185 + Reserved088, 1.186 + Reserved089, 1.187 + Reserved090, 1.188 + Reserved091, 1.189 + Reserved092, 1.190 + Reserved093, 1.191 + Reserved094, 1.192 + Reserved095) 1.193 + //l2 16-23 1.194 + SK_OT_BYTE_BITFIELD( 1.195 + Reserved080, 1.196 + Reserved081, 1.197 + Reserved082, 1.198 + Reserved083, 1.199 + Reserved084, 1.200 + Reserved085, 1.201 + Reserved086, 1.202 + Reserved087) 1.203 + //l2 8-15 1.204 + SK_OT_BYTE_BITFIELD( 1.205 + Reserved072, 1.206 + Reserved073, 1.207 + Reserved074, 1.208 + Reserved075, 1.209 + Reserved076, 1.210 + Reserved077, 1.211 + Reserved078, 1.212 + Reserved079) 1.213 + //l2 0-7 1.214 + SK_OT_BYTE_BITFIELD( 1.215 + CombiningHalfMarks, 1.216 + CJKCompatibilityForms, 1.217 + SmallFormVariants, 1.218 + ArabicPresentationFormsB, 1.219 + HalfwidthAndFullwidthForms, 1.220 + Specials, 1.221 + Reserved70, 1.222 + Reserved71) 1.223 + 1.224 + //l3 24-31 1.225 + SK_OT_BYTE_BITFIELD( 1.226 + Reserved120, 1.227 + Reserved121, 1.228 + Reserved122, 1.229 + Reserved123, 1.230 + Reserved124, 1.231 + Reserved125, 1.232 + Reserved126, 1.233 + Reserved127) 1.234 + //l3 16-23 1.235 + SK_OT_BYTE_BITFIELD( 1.236 + Reserved112, 1.237 + Reserved113, 1.238 + Reserved114, 1.239 + Reserved115, 1.240 + Reserved116, 1.241 + Reserved117, 1.242 + Reserved118, 1.243 + Reserved119) 1.244 + //l3 8-15 1.245 + SK_OT_BYTE_BITFIELD( 1.246 + Reserved104, 1.247 + Reserved105, 1.248 + Reserved106, 1.249 + Reserved107, 1.250 + Reserved108, 1.251 + Reserved109, 1.252 + Reserved110, 1.253 + Reserved111) 1.254 + //l3 0-7 1.255 + SK_OT_BYTE_BITFIELD( 1.256 + Reserved096, 1.257 + Reserved097, 1.258 + Reserved098, 1.259 + Reserved099, 1.260 + Reserved100, 1.261 + Reserved101, 1.262 + Reserved102, 1.263 + Reserved103) 1.264 + } field; 1.265 + struct Raw { 1.266 + struct l0 { 1.267 + static const SK_OT_ULONG BasicLatinMask = SkOTSetULONGBit<0>::value; 1.268 + static const SK_OT_ULONG Latin1SupplementMask = SkOTSetULONGBit<1>::value; 1.269 + static const SK_OT_ULONG LatinExtendedAMask = SkOTSetULONGBit<2>::value; 1.270 + static const SK_OT_ULONG LatinExtendedBMask = SkOTSetULONGBit<3>::value; 1.271 + static const SK_OT_ULONG IPAExtensionsMask = SkOTSetULONGBit<4>::value; 1.272 + static const SK_OT_ULONG SpacingModifierLettersMask = SkOTSetULONGBit<5>::value; 1.273 + static const SK_OT_ULONG CombiningDiacriticalMarksMask = SkOTSetULONGBit<6>::value; 1.274 + static const SK_OT_ULONG BasicGreekMask = SkOTSetULONGBit<7>::value; 1.275 + static const SK_OT_ULONG GreekSymbolsAndCCopticMask = SkOTSetULONGBit<8>::value; 1.276 + static const SK_OT_ULONG CyrillicMask = SkOTSetULONGBit<9>::value; 1.277 + static const SK_OT_ULONG ArmenianMask = SkOTSetULONGBit<10>::value; 1.278 + static const SK_OT_ULONG BasicHebrewMask = SkOTSetULONGBit<11>::value; 1.279 + static const SK_OT_ULONG HebrewExtendedABMask = SkOTSetULONGBit<12>::value; 1.280 + static const SK_OT_ULONG BasicArabicMask = SkOTSetULONGBit<13>::value; 1.281 + static const SK_OT_ULONG ArabicExtendedMask = SkOTSetULONGBit<14>::value; 1.282 + static const SK_OT_ULONG DevanagariMask = SkOTSetULONGBit<15>::value; 1.283 + static const SK_OT_ULONG BengaliMask = SkOTSetULONGBit<16>::value; 1.284 + static const SK_OT_ULONG GurmukhiMask = SkOTSetULONGBit<17>::value; 1.285 + static const SK_OT_ULONG GujaratiMask = SkOTSetULONGBit<18>::value; 1.286 + static const SK_OT_ULONG OriyaMask = SkOTSetULONGBit<19>::value; 1.287 + static const SK_OT_ULONG TamilMask = SkOTSetULONGBit<20>::value; 1.288 + static const SK_OT_ULONG TeluguMask = SkOTSetULONGBit<21>::value; 1.289 + static const SK_OT_ULONG KannadaMask = SkOTSetULONGBit<22>::value; 1.290 + static const SK_OT_ULONG MalayalamMask = SkOTSetULONGBit<23>::value; 1.291 + static const SK_OT_ULONG ThaiMask = SkOTSetULONGBit<24>::value; 1.292 + static const SK_OT_ULONG LaoMask = SkOTSetULONGBit<25>::value; 1.293 + static const SK_OT_ULONG BasicGeorgianMask = SkOTSetULONGBit<26>::value; 1.294 + static const SK_OT_ULONG GeorgianExtendedMask = SkOTSetULONGBit<27>::value; 1.295 + static const SK_OT_ULONG HangulJamoMask = SkOTSetULONGBit<28>::value; 1.296 + static const SK_OT_ULONG LatinExtendedAdditionalMask = SkOTSetULONGBit<29>::value; 1.297 + static const SK_OT_ULONG GreekExtendedMask = SkOTSetULONGBit<30>::value; 1.298 + static const SK_OT_ULONG GeneralPunctuationMask = SkOTSetULONGBit<31>::value; 1.299 + }; 1.300 + struct l1 { 1.301 + static const SK_OT_ULONG SuperscriptsAndSubscriptsMask = SkOTSetULONGBit<32 - 32>::value; 1.302 + static const SK_OT_ULONG CurrencySymbolsMask = SkOTSetULONGBit<33 - 32>::value; 1.303 + static const SK_OT_ULONG CombiningDiacriticalMarksForSymbolsMask = SkOTSetULONGBit<34 - 32>::value; 1.304 + static const SK_OT_ULONG LetterlikeSymbolsMask = SkOTSetULONGBit<35 - 32>::value; 1.305 + static const SK_OT_ULONG NumberFormsMask = SkOTSetULONGBit<36 - 32>::value; 1.306 + static const SK_OT_ULONG ArrowsMask = SkOTSetULONGBit<37 - 32>::value; 1.307 + static const SK_OT_ULONG MathematicalOperatorsMask = SkOTSetULONGBit<38 - 32>::value; 1.308 + static const SK_OT_ULONG MiscellaneousTechnicalMask = SkOTSetULONGBit<39 - 32>::value; 1.309 + static const SK_OT_ULONG ControlPicturesMask = SkOTSetULONGBit<40 - 32>::value; 1.310 + static const SK_OT_ULONG OpticalCharacterRecognitionMask = SkOTSetULONGBit<41 - 32>::value; 1.311 + static const SK_OT_ULONG EnclosedAlphanumericsMask = SkOTSetULONGBit<42 - 32>::value; 1.312 + static const SK_OT_ULONG BoxDrawingMask = SkOTSetULONGBit<43 - 32>::value; 1.313 + static const SK_OT_ULONG BlockElementsMask = SkOTSetULONGBit<44 - 32>::value; 1.314 + static const SK_OT_ULONG GeometricShapesMask = SkOTSetULONGBit<45 - 32>::value; 1.315 + static const SK_OT_ULONG MiscellaneousSymbolsMask = SkOTSetULONGBit<46 - 32>::value; 1.316 + static const SK_OT_ULONG DingbatsMask = SkOTSetULONGBit<47 - 32>::value; 1.317 + static const SK_OT_ULONG CJKSymbolsAndPunctuationMask = SkOTSetULONGBit<48 - 32>::value; 1.318 + static const SK_OT_ULONG HiraganaMask = SkOTSetULONGBit<49 - 32>::value; 1.319 + static const SK_OT_ULONG KatakanaMask = SkOTSetULONGBit<50 - 32>::value; 1.320 + static const SK_OT_ULONG BopomofoMask = SkOTSetULONGBit<51 - 32>::value; 1.321 + static const SK_OT_ULONG HangulCompatibilityJamoMask = SkOTSetULONGBit<52 - 32>::value; 1.322 + static const SK_OT_ULONG CJKMiscellaneousMask = SkOTSetULONGBit<53 - 32>::value; 1.323 + static const SK_OT_ULONG EnclosedCJKLettersAndMonthsMask = SkOTSetULONGBit<54 - 32>::value; 1.324 + static const SK_OT_ULONG CJKCompatibilityMask = SkOTSetULONGBit<55 - 32>::value; 1.325 + static const SK_OT_ULONG HangulMask = SkOTSetULONGBit<56 - 32>::value; 1.326 + //Reserved 1.327 + //Reserved 1.328 + static const SK_OT_ULONG CJKUnifiedIdeographsMask = SkOTSetULONGBit<59 - 32>::value; 1.329 + static const SK_OT_ULONG PrivateUseAreaMask = SkOTSetULONGBit<60 - 32>::value; 1.330 + static const SK_OT_ULONG CJKCompatibilityIdeographsMask = SkOTSetULONGBit<61 - 32>::value; 1.331 + static const SK_OT_ULONG AlphabeticPresentationFormsMask = SkOTSetULONGBit<62 - 32>::value; 1.332 + static const SK_OT_ULONG ArabicPresentationFormsAMask = SkOTSetULONGBit<63 - 32>::value; 1.333 + }; 1.334 + struct l2 { 1.335 + static const SK_OT_ULONG CombiningHalfMarksMask = SkOTSetULONGBit<64 - 64>::value; 1.336 + static const SK_OT_ULONG CJKCompatibilityFormsMask = SkOTSetULONGBit<65 - 64>::value; 1.337 + static const SK_OT_ULONG SmallFormVariantsMask = SkOTSetULONGBit<66 - 64>::value; 1.338 + static const SK_OT_ULONG ArabicPresentationFormsBMask = SkOTSetULONGBit<67 - 64>::value; 1.339 + static const SK_OT_ULONG HalfwidthAndFullwidthFormsMask = SkOTSetULONGBit<68 - 64>::value; 1.340 + static const SK_OT_ULONG SpecialsMask = SkOTSetULONGBit<69 - 64>::value; 1.341 + }; 1.342 + SK_OT_ULONG value[4]; 1.343 + } raw; 1.344 + } ulUnicodeRange; 1.345 + SK_OT_CHAR achVendID[4]; 1.346 + union Selection { 1.347 + struct Field { 1.348 + //8-15 1.349 + SK_OT_BYTE_BITFIELD( 1.350 + Reserved08, 1.351 + Reserved09, 1.352 + Reserved10, 1.353 + Reserved11, 1.354 + Reserved12, 1.355 + Reserved13, 1.356 + Reserved14, 1.357 + Reserved15) 1.358 + //0-7 1.359 + SK_OT_BYTE_BITFIELD( 1.360 + Italic, 1.361 + Underscore, 1.362 + Negative, 1.363 + Outlined, 1.364 + Strikeout, 1.365 + Bold, 1.366 + Regular, 1.367 + Reserved07) 1.368 + } field; 1.369 + struct Raw { 1.370 + static const SK_OT_USHORT ItalicMask = SkOTSetUSHORTBit<0>::value; 1.371 + static const SK_OT_USHORT UnderscoreMask = SkOTSetUSHORTBit<1>::value; 1.372 + static const SK_OT_USHORT NegativeMask = SkOTSetUSHORTBit<2>::value; 1.373 + static const SK_OT_USHORT OutlinedMask = SkOTSetUSHORTBit<3>::value; 1.374 + static const SK_OT_USHORT StrikeoutMask = SkOTSetUSHORTBit<4>::value; 1.375 + static const SK_OT_USHORT BoldMask = SkOTSetUSHORTBit<5>::value; 1.376 + static const SK_OT_USHORT RegularMask = SkOTSetUSHORTBit<6>::value; 1.377 + SK_OT_USHORT value; 1.378 + } raw; 1.379 + } fsSelection; 1.380 + SK_OT_USHORT usFirstCharIndex; 1.381 + SK_OT_USHORT usLastCharIndex; 1.382 + //version0 1.383 + SK_OT_SHORT sTypoAscender; 1.384 + SK_OT_SHORT sTypoDescender; 1.385 + SK_OT_SHORT sTypoLineGap; 1.386 + SK_OT_USHORT usWinAscent; 1.387 + SK_OT_USHORT usWinDescent; 1.388 + //version1 1.389 + union CodePageRange { 1.390 + struct Field { 1.391 + //l0 24-31 1.392 + SK_OT_BYTE_BITFIELD( 1.393 + Reserved24, 1.394 + Reserved25, 1.395 + Reserved26, 1.396 + Reserved27, 1.397 + Reserved28, 1.398 + MacintoshCharacterSet, 1.399 + OEMCharacterSet, 1.400 + SymbolCharacterSet) 1.401 + //l0 16-23 1.402 + SK_OT_BYTE_BITFIELD( 1.403 + Thai_874, 1.404 + JISJapan_932, 1.405 + ChineseSimplified_936, 1.406 + KoreanWansung_949, 1.407 + ChineseTraditional_950, 1.408 + KoreanJohab_1361, 1.409 + Reserved22, 1.410 + Reserved23) 1.411 + //l0 8-15 1.412 + SK_OT_BYTE_BITFIELD( 1.413 + Reserved08, 1.414 + Reserved09, 1.415 + Reserved10, 1.416 + Reserved11, 1.417 + Reserved12, 1.418 + Reserved13, 1.419 + Reserved14, 1.420 + Reserved15) 1.421 + //l0 0-7 1.422 + SK_OT_BYTE_BITFIELD( 1.423 + Latin1_1252, 1.424 + Latin2EasternEurope_1250, 1.425 + Cyrillic_1251, 1.426 + Greek_1253, 1.427 + Turkish_1254, 1.428 + Hebrew_1255, 1.429 + Arabic_1256, 1.430 + WindowsBaltic_1257) 1.431 + 1.432 + //l1 24-31 1.433 + SK_OT_BYTE_BITFIELD( 1.434 + IBMTurkish_857, 1.435 + IBMCyrillic_855, 1.436 + Latin2_852, 1.437 + MSDOSBaltic_775, 1.438 + Greek_737, 1.439 + Arabic_708, 1.440 + WELatin1_850, 1.441 + US_437) 1.442 + //l1 16-23 1.443 + SK_OT_BYTE_BITFIELD( 1.444 + IBMGreek_869, 1.445 + MSDOSRussian_866, 1.446 + MSDOSNordic_865, 1.447 + Arabic_864, 1.448 + MSDOSCanadianFrench_863, 1.449 + Hebrew_862, 1.450 + MSDOSIcelandic_861, 1.451 + MSDOSPortuguese_860) 1.452 + //l1 8-15 1.453 + SK_OT_BYTE_BITFIELD( 1.454 + Reserved40, 1.455 + Reserved41, 1.456 + Reserved42, 1.457 + Reserved43, 1.458 + Reserved44, 1.459 + Reserved45, 1.460 + Reserved46, 1.461 + Reserved47) 1.462 + //l1 0-7 1.463 + SK_OT_BYTE_BITFIELD( 1.464 + Reserved32, 1.465 + Reserved33, 1.466 + Reserved34, 1.467 + Reserved35, 1.468 + Reserved36, 1.469 + Reserved37, 1.470 + Reserved38, 1.471 + Reserved39) 1.472 + } field; 1.473 + struct Raw { 1.474 + struct l0 { 1.475 + static const SK_OT_ULONG Latin1_1252Mask = SkOTSetULONGBit<0>::value; 1.476 + static const SK_OT_ULONG Latin2EasternEurope_1250Mask = SkOTSetULONGBit<1>::value; 1.477 + static const SK_OT_ULONG Cyrillic_1251Mask = SkOTSetULONGBit<2>::value; 1.478 + static const SK_OT_ULONG Greek_1253Mask = SkOTSetULONGBit<3>::value; 1.479 + static const SK_OT_ULONG Turkish_1254Mask = SkOTSetULONGBit<4>::value; 1.480 + static const SK_OT_ULONG Hebrew_1255Mask = SkOTSetULONGBit<5>::value; 1.481 + static const SK_OT_ULONG Arabic_1256Mask = SkOTSetULONGBit<6>::value; 1.482 + static const SK_OT_ULONG WindowsBaltic_1257Mask = SkOTSetULONGBit<7>::value; 1.483 + static const SK_OT_ULONG Thai_874Mask = SkOTSetULONGBit<16>::value; 1.484 + static const SK_OT_ULONG JISJapan_932Mask = SkOTSetULONGBit<17>::value; 1.485 + static const SK_OT_ULONG ChineseSimplified_936Mask = SkOTSetULONGBit<18>::value; 1.486 + static const SK_OT_ULONG KoreanWansung_949Mask = SkOTSetULONGBit<19>::value; 1.487 + static const SK_OT_ULONG ChineseTraditional_950Mask = SkOTSetULONGBit<20>::value; 1.488 + static const SK_OT_ULONG KoreanJohab_1361Mask = SkOTSetULONGBit<21>::value; 1.489 + static const SK_OT_ULONG MacintoshCharacterSetMask = SkOTSetULONGBit<29>::value; 1.490 + static const SK_OT_ULONG OEMCharacterSetMask = SkOTSetULONGBit<30>::value; 1.491 + static const SK_OT_ULONG SymbolCharacterSetMask = SkOTSetULONGBit<31>::value; 1.492 + }; 1.493 + struct l1 { 1.494 + static const SK_OT_ULONG IBMGreek_869Mask = SkOTSetULONGBit<48 - 32>::value; 1.495 + static const SK_OT_ULONG MSDOSRussian_866Mask = SkOTSetULONGBit<49 - 32>::value; 1.496 + static const SK_OT_ULONG MSDOSNordic_865Mask = SkOTSetULONGBit<50 - 32>::value; 1.497 + static const SK_OT_ULONG Arabic_864Mask = SkOTSetULONGBit<51 - 32>::value; 1.498 + static const SK_OT_ULONG MSDOSCanadianFrench_863Mask = SkOTSetULONGBit<52 - 32>::value; 1.499 + static const SK_OT_ULONG Hebrew_862Mask = SkOTSetULONGBit<53 - 32>::value; 1.500 + static const SK_OT_ULONG MSDOSIcelandic_861Mask = SkOTSetULONGBit<54 - 32>::value; 1.501 + static const SK_OT_ULONG MSDOSPortuguese_860Mask = SkOTSetULONGBit<55 - 32>::value; 1.502 + static const SK_OT_ULONG IBMTurkish_857Mask = SkOTSetULONGBit<56 - 32>::value; 1.503 + static const SK_OT_ULONG IBMCyrillic_855Mask = SkOTSetULONGBit<57 - 32>::value; 1.504 + static const SK_OT_ULONG Latin2_852Mask = SkOTSetULONGBit<58 - 32>::value; 1.505 + static const SK_OT_ULONG MSDOSBaltic_775Mask = SkOTSetULONGBit<59 - 32>::value; 1.506 + static const SK_OT_ULONG Greek_737Mask = SkOTSetULONGBit<60 - 32>::value; 1.507 + static const SK_OT_ULONG Arabic_708Mask = SkOTSetULONGBit<61 - 32>::value; 1.508 + static const SK_OT_ULONG WELatin1_850Mask = SkOTSetULONGBit<62 - 32>::value; 1.509 + static const SK_OT_ULONG US_437Mask = SkOTSetULONGBit<63 - 32>::value; 1.510 + }; 1.511 + SK_OT_ULONG value[2]; 1.512 + } raw; 1.513 + } ulCodePageRange; 1.514 +}; 1.515 + 1.516 +#pragma pack(pop) 1.517 + 1.518 + 1.519 +SK_COMPILE_ASSERT(sizeof(SkOTTableOS2_V1) == 86, sizeof_SkOTTableOS2_V1_not_86); 1.520 + 1.521 +#endif