[dfont] Make test pass

Offset 0 is not null in this context.
pull/1161/head
Behdad Esfahbod 6 years ago
parent 29faebe911
commit bf852f0e62
  1. 2
      src/hb-open-file.hh

@ -309,7 +309,7 @@ struct ResourceRecord
HBINT16 nameOffset; /* Offset from beginning of resource name list
* to resource name, -1 means there is none. */
HBUINT8 attrs; /* Resource attributes */
OffsetTo<LArrayOf<HBUINT8>, HBUINT24>
OffsetTo<LArrayOf<HBUINT8>, HBUINT24, false>
offset; /* Offset from beginning of data block to
* data for this resource */
HBUINT32 reserved; /* Reserved for handle to resource */

Loading…
Cancel
Save