[HB] Add XXX

This commit is contained in:
Behdad Esfahbod 2009-08-04 20:50:18 -04:00
parent a328d66e6a
commit 2765d333e5
1 changed files with 3 additions and 0 deletions

View File

@ -114,6 +114,9 @@ struct TTCHeader
bool sanitize (SANITIZE_ARG_DEF) {
if (!SANITIZE (version)) return false;
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));
}