[pango/harfbuzz-ng] [HB] Add XXX



commit 64563fcff29aeac442f152c4643328730184763a
Author: Behdad Esfahbod <behdad behdad org>
Date:   Tue Aug 4 20:50:18 2009 -0400

    [HB] Add XXX

 pango/opentype/hb-open-file-private.hh |    3 +++
 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 242a11f..5cb09da 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));
   }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]