[CFF] Use NNOffsetTo<> instead of OffsetTo<>

I'm pretty sure that's what is intended.
This commit is contained in:
Behdad Esfahbod 2021-03-31 13:28:25 -06:00
parent 9b4b58493b
commit c539afb08b

View File

@ -1390,7 +1390,7 @@ struct cff1
public:
FixedVersion<HBUINT8> version; /* Version of CFF table. set to 0x0100u */
OffsetTo<CFF1NameIndex, HBUINT8> nameIndex; /* headerSize = Offset to Name INDEX. */
NNOffsetTo<CFF1NameIndex, HBUINT8> nameIndex; /* headerSize = Offset to Name INDEX. */
HBUINT8 offSize; /* offset size (unused?) */
public: