1. drawed text does not take into about used fonts, sizes, styles etc. - attachement fnc-re-1.mp4
    Adding in the file LCLTMSFNCRichEditor.pas in line ~4812 helps:
    ts.SystemFont := false;

  2. incorrect text draw, when the text contains Polish letters, incl. letter overlapping, invisible chars, strange carret behavior when using backscape - attachement fnc-re-2.mp4

  3. artifacts:

  • when the next line is set to a larger font size, but not from the first character - attachement fnc-re-1.mp4
  • when selected text contains spaces or Polish characters - attachement fnc-re-3.mp4
  1. the application hangs when you try to select text - occurs randomly, usually after a few - a dozen or so selections of random fragments of text with the mouse

Tested on Windows 10 x64 and:

  • lazarus 2.1.0 (trunk) with fpc 3.2.0 x86
  • lazarus 2.0.10 with fpc 3.2.0 x86
  • lazarus 2.0.8 with fpc 3.0.4 x86

TMS FNC Pack UI 3.4, I checked some previous versions and it's the same (471,7 KB)

We applied improvements for these issues that will be included in the next update.

Thank you.
And by the way, please put the following code in the LCLTMSFNCSignatureCapture.pas file in the SaveToImageStream procedure after line 641:

    g.Fill.Color := Color;
    g.DrawRectangle(RectF(0, 0, Width, Height));

the same as in the SaveToImageFile procedure.

Thanks for reporting, we have applied this inside the SaveToImageStream as well!

there is still a problem with selecting text if it contains unicode characters:
selected all with the mouse:
selected all with Ctrl+A:

sample text:

źźźśaasdł asdąśłdas asdąśłd asdad ef dśdłąśłasłęóżźćźćźżćżźńż\ źad ćżźłdłć sdćłścłśćxzv df łłłłłłł łł lłłerwelfęłsd lćź łłł ł