Index: third_party/harfbuzz-ng/src/hb-open-file-private.hh |
diff --git a/third_party/harfbuzz-ng/src/hb-open-file-private.hh b/third_party/harfbuzz-ng/src/hb-open-file-private.hh |
index ce18580f0ec4366b5987a440f1eaf5396d2ec798..31fedfbbceab598b25892315ebf2b5110935b4fe 100644 |
--- a/third_party/harfbuzz-ng/src/hb-open-file-private.hh |
+++ b/third_party/harfbuzz-ng/src/hb-open-file-private.hh |
@@ -32,6 +32,8 @@ |
#include "hb-open-type-private.hh" |
+namespace OT { |
+ |
/* |
* |
@@ -105,7 +107,7 @@ typedef struct OffsetTable |
return TRACE_RETURN (c->check_struct (this) && c->check_array (tables, TableRecord::static_size, numTables)); |
} |
- private: |
+ protected: |
Tag sfnt_version; /* '\0\001\0\00' if TrueType / 'OTTO' if CFF */ |
USHORT numTables; /* Number of tables. */ |
USHORT searchRange; /* (Maximum power of 2 <= numTables) x 16 */ |
@@ -133,7 +135,7 @@ struct TTCHeaderVersion1 |
return TRACE_RETURN (table.sanitize (c, this)); |
} |
- private: |
+ protected: |
Tag ttcTag; /* TrueType Collection ID string: 'ttcf' */ |
FixedVersion version; /* Version of the TTC Header (1.0), |
* 0x00010000 */ |
@@ -177,7 +179,7 @@ struct TTCHeader |
} |
} |
- private: |
+ protected: |
union { |
struct { |
Tag ttcTag; /* TrueType Collection ID string: 'ttcf' */ |
@@ -242,7 +244,7 @@ struct OpenTypeFontFile |
} |
} |
- private: |
+ protected: |
union { |
Tag tag; /* 4-byte identifier. */ |
OpenTypeFontFace fontFace; |
@@ -253,5 +255,7 @@ struct OpenTypeFontFile |
}; |
+} // namespace OT |
+ |
#endif /* HB_OPEN_FILE_PRIVATE_HH */ |