mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-20 06:21:16 +01:00
Add graphite2 integration from Martin Hosken
To be modified, a lot.
This commit is contained in:
1 parent
0e6d36d8a3
commit
1f49cf32c9
9 files changed
+542
-18
No files matched your search
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user