summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2009-08-04 20:50:18 -0400
committerBehdad Esfahbod <behdad@behdad.org>2009-08-04 20:50:18 -0400
commit64563fcff29aeac442f152c4643328730184763a (patch)
tree970b0b0125b195d06e1c04c5b1cebfd3f049ce82
parent02c12b3802bfe4163d1b19a6a3a1daaf947f192d (diff)
downloadpango-64563fcff29aeac442f152c4643328730184763a.tar.gz
[HB] Add XXX
-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));
}