notepad-plus-plus / notepad-plus-plus/notepad-plus-plus

CJK font rendering mixing up fonts

Open
#8,171 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
29.4k
Forks
5.4k
PR merge metrics
No merged PRs in 30d

Description

There seems to be a font rendering issue for CJK characters, using the default settings, they are rendered using a different set of fonts, instead of a single one. Not sure how the font selection operates under Windows, but the issue isn't reproducible under Microsoft's notepad. Is there supposed to be a way to select or force a specific font for rendering?

Notepad++ v7.8.5 (64-bit)
OS Name : Windows 10 Enterprise LTSC 2019 (64-bit)
OS Version : 1809
OS Build : 17763.1192

Attached is my system font list (relevant ones are Google Noto CJK, Adobe Source Han and GNU Unifont along with the defaults Microsoft CJK) and a screenshot at several font sizes.

cjk
fonts.txt

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the CJK rendering behavior on Windows 10 using the reported Notepad++ version, installed font list, and screenshot. Then trace the editor's font selection and rendering entry points; done means the cause is identified and the expected behavior or a way to force one font is established with a verified result.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
desktop, internationalization
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.