diff options
author | bungeman@google.com <bungeman@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-11-20 18:52:23 +0000 |
---|---|---|
committer | bungeman@google.com <bungeman@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-11-20 18:52:23 +0000 |
commit | a544f29496758de6ed2ebf5a53558574019c9da1 (patch) | |
tree | a69ac43e4d7e0babbcd08f788eb5b7179f9c3ef8 /src/sfnt/SkOTTable_OS_2_VA.h | |
parent | 336b4da6b0d20f27f9980b03415354a2f0698e18 (diff) |
Additional OpenType tables.
https://codereview.appspot.com/6850075/
git-svn-id: http://skia.googlecode.com/svn/trunk@6509 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/sfnt/SkOTTable_OS_2_VA.h')
-rw-r--r-- | src/sfnt/SkOTTable_OS_2_VA.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/sfnt/SkOTTable_OS_2_VA.h b/src/sfnt/SkOTTable_OS_2_VA.h index 22a022c2a6..a0d9a36593 100644 --- a/src/sfnt/SkOTTable_OS_2_VA.h +++ b/src/sfnt/SkOTTable_OS_2_VA.h @@ -19,8 +19,10 @@ //Original V0 TT struct SkOTTableOS2_VA { SK_OT_USHORT version; - //The only way to differentiate versionA and version0 is by size. - static const SK_OT_USHORT version0 = SkTEndian_SwapBE16(0); + //SkOTTableOS2_VA::VERSION and SkOTTableOS2_V0::VERSION are both 0. + //The only way to differentiate these two versions is by the size of the table. + static const SK_OT_USHORT VERSION = SkTEndian_SwapBE16(0); + SK_OT_SHORT xAvgCharWidth; struct WeightClass { SK_TYPED_ENUM(Value, SK_OT_USHORT, |