mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-10 13:59:20 +02:00
synedit: disabled distance array, when USE_UTF8BIDI_LCL
git-svn-id: trunk@9567 -
This commit is contained in:
parent
aac5c510b4
commit
514a2910d2
@ -1152,8 +1152,9 @@ begin
|
||||
if FETOSizeInChar < Length then
|
||||
InitETODist(GetCharWidth);
|
||||
{$IFDEF SYN_LAZARUS}
|
||||
// TODO: disable distance Array (FETODist), when using monospace fonts
|
||||
LCLIntf.ExtUTF8Out(FDC, X, Y, fuOptions, @ARect, Text,
|
||||
Length, PInteger(FETODist));
|
||||
Length, {$ifdef USE_UTF8BIDI_LCL}nil{$else}PInteger(FETODist){$endif});
|
||||
{$ELSE}
|
||||
Windows.ExtTextOut(FDC, X, Y, fuOptions, @ARect, Text,
|
||||
Length, PInteger(FETODist));
|
||||
|
Loading…
Reference in New Issue
Block a user