[HarfBuzz] harfbuzz: Branch 'master'

Behdad Esfahbod behdad at kemper.freedesktop.org
Tue Aug 20 10:23:00 PDT 2013


 src/hb-uniscribe.cc |    8 ++++++++
 1 file changed, 8 insertions(+)

New commits:
commit 1d05fdd09fa271b641f30a2138171e6fafcd8db7
Author: Behdad Esfahbod <behdad at behdad.org>
Date:   Tue Aug 20 13:22:21 2013 -0400

    [uniscribe] Print run info

diff --git a/src/hb-uniscribe.cc b/src/hb-uniscribe.cc
index e229a40..0758750 100644
--- a/src/hb-uniscribe.cc
+++ b/src/hb-uniscribe.cc
@@ -940,6 +940,14 @@ retry:
     if (unlikely (FAILED (hr)))
       FAIL ("ScriptPlaceOpenType() failed: 0x%08xL", hr);
 
+    if (DEBUG_ENABLED (UNISCRIBE))
+      fprintf (stderr, "Item %d RTL %d LayoutRTL %d LogicalOrder %d ScriptTag %c%c%c%c\n",
+	       i,
+	       items[i].a.fRTL,
+	       items[i].a.fLayoutRTL,
+	       items[i].a.fLogicalOrder,
+	       HB_UNTAG (hb_uint32_swap (script_tags[i])));
+
     glyphs_offset += glyphs_len;
   }
   glyphs_len = glyphs_offset;



More information about the HarfBuzz mailing list