[pango/wip/matthiasc/font-variations] pass variations to harfbuzz for shaping
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango/wip/matthiasc/font-variations] pass variations to harfbuzz for shaping
- Date: Thu, 7 Sep 2017 11:51:07 +0000 (UTC)
commit 768151ccd779a155dcd24b39cab878f260412f68
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Sep 7 07:40:45 2017 -0400
pass variations to harfbuzz for shaping
pango/pangofc-shape.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/pango/pangofc-shape.c b/pango/pangofc-shape.c
index 1a82ffc..c51a9eb 100644
--- a/pango/pangofc-shape.c
+++ b/pango/pangofc-shape.c
@@ -311,6 +311,12 @@ parse_variations (const char *variations,
p = end ? end + 1 : NULL;
}
+{
+ char tag[5];
+g_print ("variations used for shaping: ");
+for (i = 0; i < n; i++) { hb_tag_to_string (var[i].tag, tag); tag[4] = 0; g_print ("%s %g, ", tag,
var[i].value); }
+g_print ("\n");
+}
*hb_variations = var;
*n_variations = n;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]