notepad-plus-plus / notepad-plus-plus/notepad-plus-plus
Fixed / monospace font not fixed
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 29.4k
- Forks
- 5.4k
- PR merge metrics
- No merged PRs in 30d
Description
I am using Notepad++ 7.9.5 (64-bit) on Windows 10 and different types of monitors/displays. I am working on it to get an update from my admin.
When I use monospace fonts (tried Hack, FiraCode, FiraCodeRetina, SourceCodePro and Courier) the indention is not correct.
Look at this lines and the beginning of the string in column 40.
res_e = einsaetze_jahr.loc[:, ['PERSON',
'GENDER',
In that picture you see the exactly (copyied!) snippet of a Python file.
In the white background it is Windows 10 notepad. Indention is correct.
In the dark background you see Notepad++ without zoom. The indention is not correct.

What happens here? The fonts are monospace / fixed.
EDIT:
Here you see MS Word 2016 with the same code snipped and all 4 fonts I tested. The indention is correct.

Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the reported indentation mismatch in Notepad++ 7.9.5 on Windows 10 with Hack, FiraCode, FiraCodeRetina, SourceCodePro, or Courier at default zoom. Compare the displayed alignment with the same copied Python snippet in another editor, then trace the desktop text-rendering path. Done means fixed-width fonts align the snippet consistently without changing zoom behavior.
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
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100