lazfreetype: fix TFreeTypeFont.CharsPosition for unicode text

git-svn-id: trunk@52283 -
This commit is contained in:
ondrej 2016-05-05 11:05:49 +00:00
parent ae1eb7eab7
commit b7d9f09d50

View File

@ -1756,7 +1756,6 @@ begin
w := Advance;
end else
w := 0;
for i := 1 to charlen do
with result[resultIndex] do
begin
x := curX;
@ -1764,8 +1763,8 @@ begin
yTop := y+yTopRel;
yBase := y;
yBottom := y+yBottomRel;
inc(resultIndex);
end;
inc(resultIndex);
curX += w;
end;
with result[resultIndex] do