Skip to content

Commit

Permalink
Fixed upstream, now saving works
Browse files Browse the repository at this point in the history
  • Loading branch information
HinTak committed Aug 26, 2023
1 parent 5373b81 commit c259a94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hb-view-ot-svg-skia-GL.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ def __init__(self, top, right, bottom, left):
y -= sc(pos.y_advance - extent.y_bearing - pos.y_offset)
surface.flushAndSubmit()
image = surface.makeImageSnapshot()
#image.save("hb-view-ot-svg-skia-GL.png", skia.kPNG) # why does it shows RuntimeError?
image.save("hb-view-ot-svg-skia-GL.png", skia.kPNG)
glfw.swap_buffers(window)
while (glfw.get_key(window, glfw.KEY_ESCAPE) != glfw.PRESS
and not glfw.window_should_close(window)):
Expand Down

0 comments on commit c259a94

Please sign in to comment.