The bug is in TextAssembler::assemble_row where the handling for spaces (and tabs) does not account for scaling.
- Code: Select all
if (character == ' ') {
// A space is a special case.
xpos += font->get_space_advance();
should change to:
- Code: Select all
if (character == ' ') {
// A space is a special case.
xpos += properties->get_glyph_scale() * properties->get_text_scale() * font->get_space_advance();
Can someone review and apply?
