未验证 提交 28f25f32 编写于 作者: E Ebrahim Byagowi 提交者: GitHub

[ot-color/SVG] Minor (#878)

上级 fb0f3e37
...@@ -49,10 +49,15 @@ struct SVGDocumentIndexEntry ...@@ -49,10 +49,15 @@ struct SVGDocumentIndexEntry
} }
protected: protected:
HBUINT16 startGlyphID; HBUINT16 startGlyphID; /* The first glyph ID in the range described by
HBUINT16 endGlyphID; * this index entry. */
LOffsetTo<const uint8_t *> svgDoc; HBUINT16 endGlyphID; /* The last glyph ID in the range described by
HBUINT32 svgDocLength; * this index entry. Must be >= startGlyphID. */
LOffsetTo<const uint8_t *>
svgDoc; /* Offset from the beginning of the SVG Document Index
* to an SVG document. Must be non-zero. */
HBUINT32 svgDocLength; /* Length of the SVG document.
* Must be non-zero. */
public: public:
DEFINE_SIZE_STATIC (12); DEFINE_SIZE_STATIC (12);
}; };
...@@ -81,7 +86,8 @@ struct SVGDocumentIndex ...@@ -81,7 +86,8 @@ struct SVGDocumentIndex
// } // }
protected: protected:
ArrayOf<SVGDocumentIndexEntry> entries; ArrayOf<SVGDocumentIndexEntry>
entries; /* Array of SVG Document Index Entries. */
public: public:
DEFINE_SIZE_ARRAY (2, entries); DEFINE_SIZE_ARRAY (2, entries);
}; };
...@@ -98,9 +104,11 @@ struct SVG ...@@ -98,9 +104,11 @@ struct SVG
} }
protected: protected:
HBUINT16 version; HBUINT16 version; /* Table version (starting at 0). */
LOffsetTo<SVGDocumentIndex> svgDocIndex; LOffsetTo<SVGDocumentIndex>
HBUINT32 reserved; svgDocIndex; /* Offset (relative to the start of the SVG table) to the
* SVG Documents Index. Must be non-zero. */
HBUINT32 reserved; /* Set to 0. */
public: public:
DEFINE_SIZE_STATIC (10); DEFINE_SIZE_STATIC (10);
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册