diff options
author | Cody Russell <cody@jhu.edu> | 2017-11-14 17:54:56 +0300 |
---|---|---|
committer | Cody Russell <cody@jhu.edu> | 2017-11-14 17:54:56 +0300 |
commit | 0a408fa4f07a17e6c6e38b91494f6008193af994 (patch) | |
tree | f13f89a3adb5542e77383801ef6878f7078eb3b5 | |
parent | 5d14a666d5b77d9407416ae0a008ee29c67a64ed (diff) |
Minor logging change2017-06-upgrade-pango
-rw-r--r-- | packages/pango.py | 4 | ||||
-rw-r--r-- | packages/patches/pango-shaping-failure-warning.patch | 15 |
2 files changed, 18 insertions, 1 deletions
diff --git a/packages/pango.py b/packages/pango.py index 8e97bf0..7ab8cb5 100644 --- a/packages/pango.py +++ b/packages/pango.py @@ -36,7 +36,9 @@ class PangoPackage (GnomeXzPackage): 'patches/pango-coretext-fix-yosemite-crasher.patch', 'patches/pango-system-font-single.patch', - 'patches/pango-system-font-check-version.patch' + 'patches/pango-system-font-check-version.patch', + + 'patches/pango-shaping-failure-warning.patch' ]) #def deploy(self): diff --git a/packages/patches/pango-shaping-failure-warning.patch b/packages/patches/pango-shaping-failure-warning.patch new file mode 100644 index 0000000..606852a --- /dev/null +++ b/packages/patches/pango-shaping-failure-warning.patch @@ -0,0 +1,15 @@ +diff --git a/pango/shape.c b/pango/shape.c +index 6f53526..3403004 100644 +--- a/pango/shape.c ++++ b/pango/shape.c +@@ -152,8 +152,8 @@ pango_shape_full (const gchar *item_text, + if (!engine_name) + engine_name = "(unknown)"; + +- g_warning ("shaping failure, expect ugly output. shape-engine='%s', font='%s', text='%.*s'", +- engine_name, font_name, item_length, item_text); ++ g_warning ("shaping failure, expect ugly output. shape-engine='%s', font='%s'", ++ engine_name, font_name); + + g_object_set_data_full (G_OBJECT (analysis->shape_engine), font_name, + GINT_TO_POINTER (1), NULL); |