Travis fix: adding save/restore to fix matrix problem
parent
5c4d7c368f
commit
acdb56d894
|
|
@ -161,8 +161,9 @@ module Squib
|
||||||
cc.move_to(0, vertical_start)
|
cc.move_to(0, vertical_start)
|
||||||
|
|
||||||
cc.update_pango_layout(layout)
|
cc.update_pango_layout(layout)
|
||||||
|
cc.save
|
||||||
cc.show_pango_layout(layout)
|
cc.show_pango_layout(layout)
|
||||||
|
cc.restore
|
||||||
embed_draws.each { |ed| ed[:draw].call(self, ed[:x], ed[:y] + vertical_start) }
|
embed_draws.each { |ed| ed[:draw].call(self, ed[:x], ed[:y] + vertical_start) }
|
||||||
draw_text_hint(cc, x, y, layout, hint, angle)
|
draw_text_hint(cc, x, y, layout, hint, angle)
|
||||||
extents = { width: layout.extents[1].width / Pango::SCALE,
|
extents = { width: layout.extents[1].width / Pango::SCALE,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue