Yet another character_spacing/scale_factor fix.
This commit is contained in:
parent
c464db99db
commit
722b84e53a
1 changed files with 1 additions and 1 deletions
|
@ -373,7 +373,7 @@ bool placement_finder::single_line_placement(vertex_cache &pp, text_upright_e or
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
current_cluster = glyph.char_index;
|
current_cluster = glyph.char_index;
|
||||||
last_glyph_spacing = glyph.format->character_spacing;
|
last_glyph_spacing = glyph.format->character_spacing * scale_factor_;
|
||||||
//Only calculate new angle at the start of each cluster!
|
//Only calculate new angle at the start of each cluster!
|
||||||
angle = normalize_angle(off_pp.angle(sign * layout_.cluster_width(current_cluster)));
|
angle = normalize_angle(off_pp.angle(sign * layout_.cluster_width(current_cluster)));
|
||||||
rot.init(angle);
|
rot.init(angle);
|
||||||
|
|
Loading…
Reference in a new issue