summaryrefslogtreecommitdiff
path: root/src/hb-ot-var-hvar-table.hh
diff options
context:
space:
mode:
authorYoungbok Shin <youngb.shin@samsung.com>2018-04-03 14:01:34 +0900
committerYoungbok Shin <youngb.shin@samsung.com>2018-04-03 14:01:34 +0900
commit1c272a48507bb3c7905aa30d8bf0d092b474f781 (patch)
treeba3189af507d7357414e13ec3c4351cafdd2aea4 /src/hb-ot-var-hvar-table.hh
parente3a9d0d2fe726180a0456893d22d4aaa3ddb8931 (diff)
downloadharfbuzz-1c272a48507bb3c7905aa30d8bf0d092b474f781.tar.gz
harfbuzz-1c272a48507bb3c7905aa30d8bf0d092b474f781.tar.bz2
harfbuzz-1c272a48507bb3c7905aa30d8bf0d092b474f781.zip
Imported Upstream version 1.7.6upstream/1.7.6
Diffstat (limited to 'src/hb-ot-var-hvar-table.hh')
-rw-r--r--src/hb-ot-var-hvar-table.hh8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/hb-ot-var-hvar-table.hh b/src/hb-ot-var-hvar-table.hh
index f9d801e..e20131b 100644
--- a/src/hb-ot-var-hvar-table.hh
+++ b/src/hb-ot-var-hvar-table.hh
@@ -55,7 +55,7 @@ struct DeltaSetIndexMap
unsigned int u = 0;
{ /* Fetch it. */
unsigned int w = get_width ();
- const BYTE *p = mapData + w * v;
+ const HBUINT8 *p = mapData + w * v;
for (; w; w--)
u = (u << 8) + *p++;
}
@@ -78,10 +78,10 @@ struct DeltaSetIndexMap
{ return (format & 0xF) + 1; }
protected:
- USHORT format; /* A packed field that describes the compressed
+ HBUINT16 format; /* A packed field that describes the compressed
* representation of delta-set indices. */
- USHORT mapCount; /* The number of mapping entries. */
- BYTE mapData[VAR]; /* The delta-set index mapping data. */
+ HBUINT16 mapCount; /* The number of mapping entries. */
+ HBUINT8 mapData[VAR]; /* The delta-set index mapping data. */
public:
DEFINE_SIZE_ARRAY (4, mapData);