[post] Minor
This commit is contained in:
parent
64f0becd89
commit
5ed816ab59
|
@ -49,12 +49,15 @@ namespace OT {
|
||||||
|
|
||||||
struct postV2Tail
|
struct postV2Tail
|
||||||
{
|
{
|
||||||
|
friend struct post;
|
||||||
|
|
||||||
inline bool sanitize (hb_sanitize_context_t *c) const
|
inline bool sanitize (hb_sanitize_context_t *c) const
|
||||||
{
|
{
|
||||||
TRACE_SANITIZE (this);
|
TRACE_SANITIZE (this);
|
||||||
return_trace (glyphNameIndex.sanitize (c));
|
return_trace (glyphNameIndex.sanitize (c));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
protected:
|
||||||
ArrayOf<HBUINT16> glyphNameIndex; /* This is not an offset, but is the
|
ArrayOf<HBUINT16> glyphNameIndex; /* This is not an offset, but is the
|
||||||
* ordinal number of the glyph in 'post'
|
* ordinal number of the glyph in 'post'
|
||||||
* string tables. */
|
* string tables. */
|
||||||
|
@ -62,6 +65,7 @@ struct postV2Tail
|
||||||
namesX; /* Glyph names with length bytes [variable]
|
namesX; /* Glyph names with length bytes [variable]
|
||||||
* (a Pascal string). */
|
* (a Pascal string). */
|
||||||
|
|
||||||
|
public:
|
||||||
DEFINE_SIZE_ARRAY2 (2, glyphNameIndex, namesX);
|
DEFINE_SIZE_ARRAY2 (2, glyphNameIndex, namesX);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue