aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sfnt/SkOTTable_OS_2_V0.h
diff options
context:
space:
mode:
authorGravatar bungeman@google.com <bungeman@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-11-20 18:52:23 +0000
committerGravatar bungeman@google.com <bungeman@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-11-20 18:52:23 +0000
commita544f29496758de6ed2ebf5a53558574019c9da1 (patch)
treea69ac43e4d7e0babbcd08f788eb5b7179f9c3ef8 /src/sfnt/SkOTTable_OS_2_V0.h
parent336b4da6b0d20f27f9980b03415354a2f0698e18 (diff)
Additional OpenType tables.
Diffstat (limited to 'src/sfnt/SkOTTable_OS_2_V0.h')
-rw-r--r--src/sfnt/SkOTTable_OS_2_V0.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/sfnt/SkOTTable_OS_2_V0.h b/src/sfnt/SkOTTable_OS_2_V0.h
index 25e8c9c3e0..26aa832f79 100644
--- a/src/sfnt/SkOTTable_OS_2_V0.h
+++ b/src/sfnt/SkOTTable_OS_2_V0.h
@@ -18,8 +18,10 @@
struct SkOTTableOS2_V0 {
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,