Skip to content

Unicode Characters & Font Fallback Support #870

Closed
@AceFrahm

Description

@AceFrahm

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]

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions