diff options
Diffstat (limited to 'src/sfnt/SkOTTable_OS_2_V0.h')
-rw-r--r-- | src/sfnt/SkOTTable_OS_2_V0.h | 6 |
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, |