Adjust privacy for recent changes

This commit is contained in:
Behdad Esfahbod 2017-11-14 19:54:48 -08:00
parent 7e2839c438
commit f00a94e1ec
2 changed files with 8 additions and 4 deletions

View File

@ -288,7 +288,7 @@ struct BitmapSizeTable
BYTE bitDepth;
CHAR flags;
public:
public:
DEFINE_SIZE_STATIC(48);
};
@ -315,6 +315,8 @@ struct GlyphBitmapDataFormat17
struct CBLC
{
friend struct CBDT;
static const hb_tag_t tableTag = HB_OT_TAG_CBLC;
inline bool sanitize (hb_sanitize_context_t *c) const
@ -325,7 +327,7 @@ struct CBLC
sizeTables.sanitize (c, this));
}
public:
protected:
const IndexSubtableRecord *find_table (hb_codepoint_t glyph,
unsigned int *x_ppem, unsigned int *y_ppem) const
{

View File

@ -43,6 +43,8 @@ namespace OT {
struct loca
{
friend struct glyf;
static const hb_tag_t tableTag = HB_OT_TAG_loca;
inline bool sanitize (hb_sanitize_context_t *c) const
@ -51,7 +53,7 @@ struct loca
return_trace (true);
}
public:
protected:
union {
USHORT shortsZ[VAR]; /* Location offset divided by 2. */
ULONG longsZ[VAR]; /* Location offset. */
@ -167,7 +169,7 @@ struct glyf
unsigned int glyf_len;
};
public:
protected:
BYTE dataX[VAR]; /* Glyphs data. */
DEFINE_SIZE_ARRAY (0, dataX);