SynEdit: Fix negative ExtraCharSpacing

git-svn-id: trunk@32156 -
This commit is contained in:
martin 2011-09-02 16:36:54 +00:00
parent d909440b1a
commit f751ca687f

View File

@ -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]);