From d3ec31a57cb99048fb33bca65041da9dc884d8cb Mon Sep 17 00:00:00 2001 From: Ebrahim Byagowi Date: Mon, 29 Oct 2018 00:28:44 +0330 Subject: [PATCH] [ot-color] More on PNGHeader fields --- src/hb-ot-color-sbix-table.hh | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/src/hb-ot-color-sbix-table.hh b/src/hb-ot-color-sbix-table.hh index 5e49d7b2a..bd298c62e 100644 --- a/src/hb-ot-color-sbix-table.hh +++ b/src/hb-ot-color-sbix-table.hh @@ -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,