text: Reset move_to for valign if doing a stroke outline

Contributes to #102

[skip ci]
This commit is contained in:
Andy Meneely
2015-07-27 23:22:22 -04:00
parent 2cc5b8d1a0
commit fed2889aef
+2 -1
View File
@@ -149,9 +149,10 @@ module Squib
embed_draws = process_embeds(embed, para.str, layout)
vertical_start = compute_valign(layout, para.valign)
cc.move_to(0, vertical_start)
cc.move_to(0, vertical_start) #TODO clean this up a bit
stroke_outline!(cc, layout, draw) if draw.stroke_strategy == :stroke_first
cc.move_to(0, vertical_start)
cc.show_pango_layout(layout)
stroke_outline!(cc, layout, draw) if draw.stroke_strategy == :fill_first
begin