原始内容
高亮显示
复制内容
#!/usr/bin/python import sys from gi.repository import HarfBuzz as hb def nothing(): pass fontdata = file (sys.argv[1]).read () blob = hb.blob_create (fontdata, hb.memory_mode_t.WRITABLE, None, nothing) print blob buffer = hb.buffer_create ()
您还没有登录,登录后您可以:
首次使用?从这里 注册