On 11/06/2020 16:20, Alexey Tor. via lazarus wrote:
to call ExtTextOut() 20 times with the same x/y/s ?
so I suggest to del checks - just call pango_layout_set_text and
that's it.
I do not know if this is related.
But test your changes with Synedit extra-char-width.
You can set the extra cha
gtk2devicecontext.inc
procedure SetLayoutText(ALayout: PPangoLayout; AText: PChar; ALength:
PtrInt);
var
OldStr: PChar;
begin
OldStr := pango_layout_get_text(ALayout);
if (strlen(OldStr)<>ALength) or (strlcomp(AText, OldStr, ALength) <>
0) then
pango_layout_set_text(ALayout, AText, A