mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-29 12:30:36 +02:00
SynEdit: Fix negative ExtraCharSpacing
git-svn-id: trunk@32156 -
This commit is contained in:
parent
d909440b1a
commit
f751ca687f
@ -1363,7 +1363,7 @@ begin
|
|||||||
DeleteObject(SelectObject(FDC, OldPen));
|
DeleteObject(SelectObject(FDC, OldPen));
|
||||||
end;
|
end;
|
||||||
|
|
||||||
NeedDistArray:= ForceEto or (FCharExtra > 0) or
|
NeedDistArray:= ForceEto or (FCharExtra <> 0) or
|
||||||
(FBaseCharWidth <> FFontStock.CharAdvance) or FFontStock.NeedETO;
|
(FBaseCharWidth <> FFontStock.CharAdvance) or FFontStock.NeedETO;
|
||||||
ForceEto := False;
|
ForceEto := False;
|
||||||
//DebugLn(['TheTextDrawer.ExtTextOut NeedDistArray=',NeedDistArray]);
|
//DebugLn(['TheTextDrawer.ExtTextOut NeedDistArray=',NeedDistArray]);
|
||||||
|
Loading…
Reference in New Issue
Block a user