[HarfBuzz] harfbuzz-ng: Branch 'master' - 2 commits

Behdad Esfahbod behdad at kemper.freedesktop.org
Wed Apr 20 11:20:58 PDT 2011


 src/hb-ot-tag.c |    4 ++--
 src/hb-view.c   |    1 -
 2 files changed, 2 insertions(+), 3 deletions(-)

New commits:
commit 440a76b630a36a7336c93e8b05d988c6407b085e
Author: Behdad Esfahbod <behdad at behdad.org>
Date:   Wed Apr 20 14:20:00 2011 -0400

    [OT] Fix script to ot-script-tag conversion

diff --git a/src/hb-ot-tag.c b/src/hb-ot-tag.c
index ecc1882..f7e8c95 100644
--- a/src/hb-ot-tag.c
+++ b/src/hb-ot-tag.c
@@ -52,7 +52,7 @@ hb_ot_old_tag_from_script (hb_script_t script)
   }
 
   /* Else, just change first char to lowercase and return */
-  return ((hb_tag_t) script) | 0x02000000;
+  return ((hb_tag_t) script) | 0x20000000;
 }
 
 static hb_script_t
@@ -73,7 +73,7 @@ hb_ot_old_tag_to_script (hb_tag_t tag)
   }
 
   /* Else, just change first char to uppercase and return */
-  return (hb_script_t) (tag & ~0x02000000);
+  return (hb_script_t) (tag & ~0x20000000);
 }
 
 static hb_tag_t
commit a3036a3e97b14c8eb1df208aed944207f9b6cc0b
Author: Behdad Esfahbod <behdad at behdad.org>
Date:   Wed Apr 20 14:13:23 2011 -0400

    Minor

diff --git a/src/hb-view.c b/src/hb-view.c
index 4e61ee7..60097b9 100644
--- a/src/hb-view.c
+++ b/src/hb-view.c
@@ -37,7 +37,6 @@
 #include <math.h>
 #include <locale.h>
 
-#include <glib.h>
 #include <hb-glib.h>
 
 #include <cairo-ft.h>



More information about the HarfBuzz mailing list