1#!/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 14