Add TODO to update NN offsets to allow nulls.

This commit is contained in:
Garret Rieger authored and Behdad Esfahbod committed 2021-08-18 16:52:45 -06:00
1 parent dc31920bbe
commit 280366ba6a
1 file changed
+2
+2
View File
@@ -124,6 +124,8 @@ struct CPALV1Tail
}
protected:
// TODO(garretrieger): these offsets can hold nulls so we should not be using non-null offsets
// here. Currently they are needed since UnsizedArrayOf doesn't define null_size
NNOffset32To<UnsizedArrayOf<HBUINT32>>
paletteFlagsZ; /* Offset from the beginning of CPAL table to
* the Palette Type Array. Set to 0 if no array