[pango] test-shape: Print glyph ids in decimal



commit be4d29953196744ab87b7e27be21a60131b109d1
Author: Matthias Clasen <mclasen redhat com>
Date:   Thu Jul 18 14:49:42 2019 -0700

    test-shape: Print glyph ids in decimal

 tests/test-shape.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/tests/test-shape.c b/tests/test-shape.c
index babfe98f..acce5a03 100644
--- a/tests/test-shape.c
+++ b/tests/test-shape.c
@@ -171,7 +171,7 @@ test_file (const gchar *filename, GString *string)
                 p1 = g_utf8_next_char (p);
             }
           append_text (s1, p, p1 - p);
-          g_string_append_printf (s2, "[%x]", gi->glyph);
+          g_string_append_printf (s2, "[%d]", gi->glyph);
           g_string_append_printf (s4, "%d ", gi->geometry.width);
           g_string_append_printf (s7, "%d,%d ", gi->geometry.x_offset, gi->geometry.y_offset);
           if (gi->attr.is_cluster_start)


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