commit | e9f5c65be027eb7759ab819e267e24dff3b017b6 | [log] [tgz] |
---|---|---|
author | Behdad Esfahbod <[email protected]> | Mon Jan 19 14:42:11 2015 -0800 |
committer | Behdad Esfahbod <[email protected]> | Mon Jan 19 16:15:32 2015 -0800 |
tree | 52beb5f272b35e320888fd0d7a93b0769761554c | |
parent | 3704628d1f124234324b5f2bdd5fdd61c14c7801 [diff] [blame] |
[bindings] Minor
diff --git a/src/sample.py b/src/sample.py index 1ed593b..f8d2216 100755 --- a/src/sample.py +++ b/src/sample.py
@@ -20,6 +20,8 @@ fontdata = open (sys.argv[1], 'rb').read () text = tounicode(sys.argv[2]) +# Need to create GLib.Bytes explicitly until this bug is fixed: +# https://bugzilla.gnome.org/show_bug.cgi?id=729541 blob = hb.glib_blob_create (GLib.Bytes.new (fontdata)) face = hb.face_create (blob, 0) del blob