[HB] Add XXX
authorBehdad Esfahbod <behdad@behdad.org>
Wed, 5 Aug 2009 00:50:18 +0000 (20:50 -0400)
committerBehdad Esfahbod <behdad@behdad.org>
Mon, 2 Nov 2009 19:40:30 +0000 (14:40 -0500)
src/hb-open-file-private.hh

index 242a11f..5cb09da 100644 (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));
   }