Re: Working on my preferences, missing in LibreCad
Posted by sand1024 on Dec 08, 2024; 5:38pm
URL: https://forum.librecad.org/Working-on-my-preferences-missing-in-LibreCad-tp5725761p5725783.html
Well, yes, that' was my point - instead of individual drawing of letter elements, change the implementation to draw the entire letter (where possible) by single path.
Previously, there was quite a significant loss of performance for setting pen for each individual line/arc that is part of polyline that defines each single letter. I've removed that (so style is calculated only once for all mtext - and set to painter once).
I'll take a deeper look on that implementation, yet probably a bit later. If will be great if you could merge my last merge request, and I suppose soon next week I'll put another one - probably after that it will be possible to try to do something with mtext.
Btw - did you perform profiling on 2.2.1 version (as I've seen Qt5 in logs) or for master one?