mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-07 17:58:03 +02:00
lazfreetype: fix TFreeTypeFont.CharsPosition for unicode text
git-svn-id: trunk@52283 -
This commit is contained in:
parent
ae1eb7eab7
commit
b7d9f09d50
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user