Skip to content
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

Some UTF-8 chars are only rendered if there are other UTF-8 chars in the same line #10790

Open
ST-DDT opened this issue Nov 16, 2021 · 2 comments

Comments

@ST-DDT
Copy link

ST-DDT commented Nov 16, 2021

Description of the Issue

Some UTF-8 characters are only rendered if there are other UTF-8 characters in front of them/in the same line.
It does not matter whether there are other normal characters in between

Steps to Reproduce the Issue

Paste the following text in your notepad++

With Prior UTF-8: ✓ ↺
No UTF-8: X ↺
With Suffix UTF-8: ↺ ✓

Expected Behavior

Both/All lines are rendered correctly

Actual Behavior

The line with the ✓ is rendered correctly.
The line without not.
Removing/Adding the symbol changes whether the error occurs.
Repeating ↺ does not fix the issue.

grafik

Debug Information

Notepad++ v8.1.9 (64-bit)
Build time : Oct 21 2021 - 23:37:53
Path : C:\Program Files\Notepad++\notepad++.exe
Command Line :
Admin mode : OFF
Local Conf mode : OFF
Cloud Config : OFF
OS Name : Windows 10 Pro (64-bit)
OS Version : 2009
OS Build : 19042.1288
Current ANSI codepage : 1252
Plugins : ComparePlugin.dll DSpellCheck.dll JSMinNPP.dll mimeTools.dll NppConverter.dll NppExport.dll XMLTools.dll

@Docteh
Copy link
Contributor

Docteh commented Nov 18, 2021

Hello

Settings -> Preferences -> Misc
Turn on the DirectWrite option

Use DirectWrite (May improve rendering special characters, need to restart Notepad++)

Without:
image

With:
image

I do wonder if there is a reason its not on by default, maybe it doesn't work in certain situations?

@ST-DDT
Copy link
Author

ST-DDT commented Nov 18, 2021

Thanks for pointing me to this option. It works very well, but I'll probably forget about this option soon.
Turning it on by default would be nice.

I'll leave this ticket open, in case you wish to use it for tracking the default value change.
Otherwise it can be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants