blob: 317a47e0f4d90fc3694215cc9836ef2edf68979b [file] [log] [blame]
Behdad Esfahbode478ebe2013-09-12 20:53:07 -04001#!/usr/bin/python
2
3import sys
4from gi.repository import HarfBuzz as hb
5
6def nothing():
7 pass
8
9fontdata = file (sys.argv[1]).read ()
10blob = hb.blob_create (fontdata, hb.memory_mode_t.WRITABLE, None, nothing)
11print blob
12buffer = hb.buffer_create ()
13