diff --git a/units/text.cpp b/units/text.cpp index c90544b..af56872 100644 --- a/units/text.cpp +++ b/units/text.cpp @@ -247,7 +247,7 @@ int Text::lenght(string text, int kerning) int shift = 0; for (int i = 0; i < (int)text.length(); ++i) - shift += (offset[int(text[i])].w + kerning); + shift += (offset[int(text[i])].w + kerning) * zoom; // Descuenta el kerning del Ășltimo caracter return shift - kerning;