summaryrefslogtreecommitdiff
path: root/pango/opentype/hb-open-file-private.hh
diff options
context:
space:
mode:
Diffstat (limited to 'pango/opentype/hb-open-file-private.hh')
-rw-r--r--pango/opentype/hb-open-file-private.hh3
1 files changed, 3 insertions, 0 deletions
diff --git a/pango/opentype/hb-open-file-private.hh b/pango/opentype/hb-open-file-private.hh
index 242a11fd..5cb09daf 100644
--- a/pango/opentype/hb-open-file-private.hh
+++ b/pango/opentype/hb-open-file-private.hh
@@ -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));
}