New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NPP incorrect display unicode character with circle or gap #14822
Comments
I can see this behavior also in SciTE so seems to be Scintilla related. Circles with upper or lower accent marker. The diff from one column with a circle to the next shows a pattern.
Tried GDI and DirectWrite (1, 2, 3). Tried MS Sans Serif and Tahoma fonts which are supposed to be Thai language compatible . Perhaps @nyamatongwe might be able to drop in here for a comment else you can post an issue over at Scintilla . |
Scintilla breaks text into runs with a maximum length of 300 bytes. This was done because some platform APIs broke when given large pieces of text or took excessive time. After a text segment exceeds 300 bytes it is divided into smaller segments of less than 100 bytes. This division occurs (in Spaces or punctuation are commonly found in text, limiting the frequency of problems with the implementation. |
@nyamatongwe I would like to point out that I found it with normal space case. It's just that I want to find easy reproducible step and this way I don't have to reveal my real data. But as it would be useful as reference, this is it: It's only character 33 after space which is normal in Thai language (space is used to separated the sentence, not the word). By the way, I understand that it's related to Scintilla which NPP may cant do anything about it, just FYI |
Description of the Issue
Incorrect display unicode character with circle (dummy consonant) and gap as in image.
Example in Thai language of NPP (above) compare to Windows notepad (below).
Steps to Reproduce the Issue
Expected Behavior
It should be shown consistency as in Windows notepad, no circle or gap as highlighted in NPP side
Actual Behavior
There're circle or gap as highlighted in NPP side.
Debug Information
Notepad++ v8.6.2 (64-bit)
Build time : Jan 14 2024 - 02:16:00
Path : D:\npp\notepad++.exe
Command Line :
Admin mode : OFF
Local Conf mode : ON
Cloud Config : OFF
OS Name : Windows 10 Pro (64-bit)
OS Version : 1909
OS Build : 18363.1854
Current ANSI codepage : 1252
Plugins :
JSMinNPP (1.2205)
mimeTools (3)
NppConverter (4.5)
NppExport (0.4)
The text was updated successfully, but these errors were encountered: