|
|
@ -147,8 +147,6 @@ struct TTCHeader |
|
|
|
TRACE_SANITIZE (); |
|
|
|
TRACE_SANITIZE (); |
|
|
|
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; |
|
|
|
/* TODO Maybe we shouldn't NEUTER these offsets, they may cause a full copy
|
|
|
|
|
|
|
|
* of the whole font right now. */ |
|
|
|
|
|
|
|
return table.sanitize (SANITIZE_ARG, CONST_CHARP(this), CONST_CHARP(this)); |
|
|
|
return table.sanitize (SANITIZE_ARG, CONST_CHARP(this), CONST_CHARP(this)); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|