[ot-color] More on PNGHeader fields

This commit is contained in:
Ebrahim Byagowi authored and Behdad Esfahbod committed 2018-10-28 18:33:10 -07:00
1 parent 35fa3d3260
commit d3ec31a57c
1 file changed
+9 -3
+9 -3
View File
@@ -198,9 +198,15 @@ struct sbix
struct PNGHeader
{
HBUINT8 header[16];
HBUINT32 width;
HBUINT32 height;
HBUINT8 signature[8];
HBUINT8 chunkHeaderIHDR[8];
HBUINT32 width;
HBUINT32 height;
HBUINT8 bitDepth;
HBUINT8 colorType;
HBUINT8 compressionMethod;
HBUINT8 filterMethod;
HBUINT8 interlaceMethod;
};
inline bool get_png_extents (hb_codepoint_t glyph,