Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
SkOTTable_OS_2_V0.h
Go to the documentation of this file.
1/*
2 * Copyright 2012 Google Inc.
3 *
4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file.
6 */
7
8#ifndef SkOTTable_OS_2_V0_DEFINED
9#define SkOTTable_OS_2_V0_DEFINED
10
11#include "src/base/SkEndian.h"
14#include "src/sfnt/SkPanose.h"
15
16#pragma pack(push, 1)
17
20 //SkOTTableOS2_VA::VERSION and SkOTTableOS2_V0::VERSION are both 0.
21 //The only way to differentiate these two versions is by the size of the table.
23
52 union Type {
53 struct Field {
54 //8-15
56 Reserved08,
57 Reserved09,
58 Reserved10,
59 Reserved11,
60 Reserved12,
61 Reserved13,
62 Reserved14,
63 Reserved15)
64 //0-7
66 Reserved00,
73 Reserved07)
133 //version0
139};
140
141#pragma pack(pop)
142
143
144static_assert(sizeof(SkOTTableOS2_V0) == 78, "sizeof_SkOTTableOS2_V0_not_78");
145
146#endif
#define SkTEndian_SwapBE16(n)
Definition SkEndian.h:142
uint16_t SK_OT_USHORT
uint32_t SK_OT_ULONG
int8_t SK_OT_CHAR
uint16_t SK_OT_SHORT
#define SK_OT_BYTE_BITFIELD
SK_OT_BYTE_BITFIELD(Reserved08, Reserved09, Reserved10, Reserved11, Reserved12, Reserved13, Reserved14, Reserved15) SK_OT_BYTE_BITFIELD(Italic
static const SK_OT_USHORT BoldMask
static const SK_OT_USHORT OutlinedMask
static const SK_OT_USHORT NegativeMask
static const SK_OT_USHORT UnderscoreMask
static const SK_OT_USHORT RegularMask
static const SK_OT_USHORT StrikeoutMask
static const SK_OT_USHORT ItalicMask
SK_OT_BYTE_BITFIELD(Reserved08, Reserved09, Reserved10, Reserved11, Reserved12, Reserved13, Reserved14, Reserved15) SK_OT_BYTE_BITFIELD(Reserved00
static const SK_OT_USHORT EditableMask
static const SK_OT_USHORT Installable
static const SK_OT_USHORT PreviewPrintMask
static const SK_OT_USHORT RestrictedMask
enum SkOTTableOS2_V0::WidthClass::Value value
struct SkOTTableOS2_V0::WidthClass usWidthClass
struct SkOTTableOS2_V0::WeightClass usWeightClass
SK_OT_SHORT ySuperscriptXOffset
SK_OT_SHORT ySubscriptYSize
SK_OT_USHORT usWinDescent
SK_OT_ULONG ulCharRange[4]
SK_OT_USHORT usWinAscent
SK_OT_USHORT usLastCharIndex
SK_OT_SHORT sTypoAscender
SK_OT_SHORT ySubscriptYOffset
union SkOTTableOS2_V0::Type fsType
SK_OT_SHORT ySubscriptXSize
SK_OT_SHORT yStrikeoutSize
SK_OT_SHORT ySuperscriptYSize
SK_OT_USHORT version
SK_OT_SHORT xAvgCharWidth
SK_OT_SHORT ySuperscriptXSize
SK_OT_SHORT ySuperscriptYOffset
union SkOTTableOS2_V0::Selection fsSelection
SK_OT_SHORT ySubscriptXOffset
SK_OT_CHAR achVendID[4]
SK_OT_SHORT yStrikeoutPosition
SK_OT_USHORT usFirstCharIndex
SkIBMFamilyClass sFamilyClass
static const SK_OT_USHORT VERSION
SK_OT_SHORT sTypoDescender
SK_OT_SHORT sTypoLineGap
struct SkOTTableOS2_V0::Selection::Field field
struct SkOTTableOS2_V0::Selection::Raw raw
struct SkOTTableOS2_V0::Type::Field field
struct SkOTTableOS2_V0::Type::Raw raw