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
Unicode Characters & Font Fallback Support #870
Comments
Related issue: #813. Making code sequences of the characters with |
we are closing this issue due to its age and multiple newer notepad++ versions since it was filed. please update your notepad++ to the latest version Notepad++ 7.6.6. thank you for your help and best regards.
|
Problem seems still to exist in 7.7.1 (just tested with the portable version which unfortunately is only 32bit; as your download site curently cannot be reached, I cannot check with the "official" 64bit version). Related issue: #3747 |
... by using Scintilla's DirectWrite technology. It allows ligature support if the font needed (for exemple "Fira Code") is installed. Fix notepad-plus-plus#2287, close notepad-plus-plus#8326 Fix notepad-plus-plus#442, fix notepad-plus-plus#675, fix notepad-plus-plus#813, fix notepad-plus-plus#870, fix notepad-plus-plus#1621, fix notepad-plus-plus#3458, fix notepad-plus-plus#4056, fix notepad-plus-plus#4086, fix notepad-plus-plus#4490, fix notepad-plus-plus#8305
Some weirdness with viewing Unicode glyphs, even on a machine with fallback fonts.
A font with full fallback for every Unicode code point still won't show anything but a square for some things.
Try pasting this into Notepad++
Interobangs on one line:‽‽🔊 , 🎥 , 📕 ]🔊 , 🎥 , 📕 ]
Upper unicode characters (16 or 32-bits? not just 8-bit from the Basic Multilingual Plane) on a separate line: [
Interobangs followed by some upper Unicode characters on the same line: ‽‽ , [
arrows on the same line : ↑↓↙ ↘ .
arrows on 2 lines : ↑↓
↙ ↘ .
Now, a user should have some fallback fonts setup, as described here with "Font Linking" (which is different than straight-up 'fallback font'), it uses GDI
[https://msdn.microsoft.com/en-us/goglobal/bb688134.aspx]
HKEY_LOCAL_MACHINE\SOFTWARE\Micrrosoft\Windows NT\CurrentVersion\FontLink\SystemLink
Here is a list of "Font Linked" fonts I'm using with Arial Unicode MS under that registry setting.
unifont_csur-7.0.06.ttf, Unifont CSUR
unifont_upper_csur-7.0.06.ttf, Unifont Upper CSUR
Constructium.ttf, Constructium
Nuvenon.ttf, Nuvenon
LastResort.ttf, LastResort
UnicodeBMPFallback.ttf, Unicode BMP Fallback SIL
This Font Linked list ought to cover every single Unicode code point with SOME glyph, but it seems Notepad++ can't handle Unicode well or doesn't take advantage of GDI ?
the problem is also described here:
[http://stackoverflow.com/questions/20749958/unicode-characters-messed-up-after-linebreak]
!‽???‽!!! ,🔊 , 🎥 , 📕
The text was updated successfully, but these errors were encountered: