[Bug 46787] Notepad++ rather slow (GetLocaleInfoEx)

WineHQ Bugzilla wine-bugs at winehq.org
Thu May 12 13:01:30 CDT 2022


https://bugs.winehq.org/show_bug.cgi?id=46787

--- Comment #5 from Nikolay Sivov <bunglehead at gmail.com> ---
At least in releases I tried, the way directwrite is used is rather suboptimal.
As I recall it simply recreated layout object every time text changed. That
means that if you have 100 words paragraph and you type a space somewhere in
it, all of it gets reshaped. Obviously when files gets larger, shaping time
increases.

Now, I don't know if there is some advanced word cache on Windows that reduces
the impact, but for the best performance editor should implement layout itself,
and use lower level API - GetGlyphs/GetGlyphPlacements.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list