[HB] Add XXX
This commit is contained in:
parent
a328d66e6a
commit
2765d333e5
|
@ -114,6 +114,9 @@ struct TTCHeader
|
||||||
bool sanitize (SANITIZE_ARG_DEF) {
|
bool sanitize (SANITIZE_ARG_DEF) {
|
||||||
if (!SANITIZE (version)) return false;
|
if (!SANITIZE (version)) return false;
|
||||||
if (version.major < 1 || version.major > 2) return true;
|
if (version.major < 1 || version.major > 2) return true;
|
||||||
|
/* XXX Maybe we shouldn't NEUTER these offsets, they may cause a full copy of
|
||||||
|
* the whole font right now. */
|
||||||
|
//if (!table.sanitize (SANITIZE_ARG)) return false;
|
||||||
return table.sanitize (SANITIZE_ARG, CONST_CHARP(this), CONST_CHARP(this));
|
return table.sanitize (SANITIZE_ARG, CONST_CHARP(this), CONST_CHARP(this));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue