[pango] shape test: Output glyph widths
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango] shape test: Output glyph widths
- Date: Thu, 18 Jul 2019 19:35:33 +0000 (UTC)
commit 34d65ee29a689346f8066954d66b20a94d2f20f1
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Jul 18 09:16:17 2019 -0700
shape test: Output glyph widths
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 dec3bf22..ea9e88f3 100644
--- a/tests/test-shape.c
+++ b/tests/test-shape.c
@@ -167,7 +167,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, "[%x %d]", gi->glyph, gi->geometry.width);
if (gi->attr.is_cluster_start)
g_string_append_printf (s3, "%d", item->offset + glyphs->log_clusters[i]);
g_string_append (s5, rtl ? "<" : ">");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]