Add graphite2 integration from Martin Hosken

To be modified, a lot.
This commit is contained in:
Behdad Esfahbod committed 2011-08-24 01:32:41 +02:00
1 parent 0e6d36d8a3
commit 1f49cf32c9
9 files changed
+542 -18

No files matched your search

+2 -2
View File
@@ -100,9 +100,9 @@ if not opts.nogui :
glyphs = []
org = [0, 0]
for g in res :
glyphs.append((g.gid, org[0] + g.offset[0], org[1] + g.offset[1]))
glyphs.append((g.gid, org[0] + g.offset[0], org[1] - g.offset[1]))
org[0] += g.advance[0]
org[1] += g.advance[1]
org[1] -= g.advance[1]
gobject.type_register(GlyphsWindow)
win = gtk.Window()