dail8859 / dail8859/NotepadNext

Windows 125% scaling causes uneven rendering on unhinted fonts

Open
#1,120 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
14.6k
Forks
914
Avg merge
6d 18h
Merged PRs (30d)
7

Description

### Operating System and Version

Windows 11

### Distribution

zip

### Description

When using non-integer display scaling on Windows (e.g., 125%), unhinted fonts suffer from uneven stroke width and character distortion across the entire UI.

Image
BUG

Image
Expected

### Steps to Reproduce

1. Set the Windows system display scale to 125% (or another non-integer scale factor).

2. Use a unhinted font.

3. Compared to 100% scaling, character stroke width or sizing appears inconsistent and uneven.

### Debug Information

_No response_

### Additional Details

On my computer, only JetBrains Mono and Microsoft YaHei (微软雅黑)display correctly; other hinted fonts also seem to suffer from this issue.

e.g. screenshots, logs, etc

Contributor guide

No contributing guide indexed for this repository

Research direction

No source files, tests, or entry points are identified. First reproduce the uneven font rendering on Windows 11 at 125% scaling with an unhinted font and compare it with 100% scaling; done means the UI renders consistently at non-integer scaling without the reported distortion.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.