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

Unicode Characters & Font Fallback Support #870

Closed
AceFrahm opened this issue Sep 7, 2015 · 4 comments
Closed

Unicode Characters & Font Fallback Support #870

AceFrahm opened this issue Sep 7, 2015 · 4 comments

Comments

@AceFrahm
Copy link

AceFrahm commented Sep 7, 2015

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]

!‽???‽!!! , 🔊, 🎥, 📕

@h-h-h-h
Copy link
Contributor

h-h-h-h commented Sep 8, 2015

Related issue: #813.

Making code sequences of the characters with `...` might resolve the issue of Github making images out of them.

@Kemipso
Copy link

Kemipso commented May 2, 2018

Following your example (but with different fonts for my own needs) worked fine, and I could not reproduce the issue on Notepad++. I'm using Windows 10, April 2018 update and Notepad++ v7.5.4 (64-bit).

Here is how it looks on my end:
2018-05-02 - 001055

And here is my setup, based on Inconsolata/Consolas for most common characters, and a bunch of weird fonts for other symbols.

Path:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontLink\SystemLink

New multi-string, with value name:
Inconsolata

Value data:

CONSOLA.TTF,Consolas Regular
SEGOEUISL.TTF,Segoe UI Semilight
MSJH.TTC,Microsoft Jhenghei UI
MSYH.TTC,Microsoft YaHei
MALGUNSL.TTF,Malgun Gothic Semilight
SEGUISYM.TTF,Segoe UI Symbol

@MetaChuh
Copy link

MetaChuh commented Apr 9, 2019

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.
if your issue persists, and it is still of relevance to you, please feel free to file a new issue.

thank you for your help and best regards.


general notes:

please close your issues as soon as you are satisfied, to help
keeping the notepad++ issue tracker clean.

when creating a new issue, please provide all information as shown at the issue template.
your notepad++ debug info is part of the minimum requirements.
(? > Debug Info... > Copy debug info into clipboard).

please also conduct a search at the issue tracker beforehand, to check if a similar issue
already exists.

for general questions, or if it is not sure, whether your issue is directly related to
the notepad++ source code, please visit us at the notepad++ community forum, and
search if related topics exists. you are welcome to post either at similar
topics, or to create a new topic at Help Wanted or General Discussion.

                        Click here to visit the Notepad++ Community Forum                         

@MetaChuh MetaChuh closed this as completed Apr 9, 2019
@IzzySoft
Copy link

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

donho pushed a commit that referenced this issue Jun 12, 2020
... by using Scintilla's DirectWrite technology.
It allows ligature support if the font needed (for exemple "Fira Code") is installed.

Fix #2287, close #8326
Fix #442, fix #675, fix #813, fix #870, fix #1621, fix #3458, fix #4056, fix #4086, fix #4490, fix #8305
alef162 pushed a commit to alef162/notepad-plus-plus that referenced this issue Oct 11, 2020
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

5 participants