[Feature request] Text rendering options: antialiasing, DirectWrite rendering mode and contrast

Author: Pyre909Created Sep 25, 2026Updated Sep 25, 2026

Is there an existing issue (open or closed) for this?

  • I have searched the existing issues

Description of the Issue

Text rendering can only be tuned with "Enable smooth font" (Editing 1) and the rendering technology (MISC.). With DirectWrite, the defaults blur small text vertically. There is no way to choose grayscale antialiasing (better on OLED and rotated screens) or crisper GDI-like glyphs, or to raise the contrast of thin fonts.

Describe the solution you'd like.

A "Text Rendering" group in Preferences > Editing 1:

  • Rendering mode: GDI or DirectWrite, moved from MISC. Restart required, as before.
  • Antialiasing: Follow Windows (default), ClearType (replaces "Enable smooth font"), ClearType less color fringing, Grayscale, None.
  • DirectWrite mode: Automatic (default), Natural, Symmetric, GDI classic, Adaptive.
  • Text contrast: Follow Windows (default), Medium, High, Very high.

With Windows ClearType on (the Windows default), the defaults must draw exactly as today. Under DirectWrite, "Follow Windows" should also honour the Windows font smoothing switch (off or Standard), which today is ignored (#17461).

Debug Information

bash
Notepad++ v8.9.8.1   (64-bit)
Build time: Sep 24 2026 - 15:34:11
Scintilla/Lexilla included: 5.6.6/5.5.3
Boost Regex included: 1_90
pugixml included: 1.16
nlohmann JSON included: 3.12.0
Path: C:\Program Files\Notepad++\notepad++.exe
Command Line: "C:\Program Files\Notepad++\change.log" 
Admin mode: OFF
Local Conf mode: OFF
Cloud Config: OFF
WinGUp: present
disableNppAutoUpdate.xml: absent
Periodic Backup: ON
Placeholders: OFF
Scintilla Rendering Mode: SC_TECHNOLOGY_DIRECTWRITE (1)
Multi-instance Mode: monoInst
asNotepad: OFF
File Status Auto-Detection: cdEnabledNew (for current file/tab only)
Dark Mode: OFF
Display Info:
    primary monitor: 2832x1720, scaling 150%
    visible monitors count: 1
    installed Display Class adapters: 
        0000: Description - Parallels Display Adapter (WDDM)
        0000: DriverVersion - 20.18.2702.58673
OS Name: Windows 11 Pro (64-bit)
OS Version: 25H2
OS Build: 26200.9457
Current ANSI codepage: 1252
Plugins: 
    mimeTools (3.1)
    NppConverter (4.7)
    NppExport (0.4)

Anything else?

A working implementation is ready, one commit on current master: https://github.com/notepad-plus-plus/notepad-plus-plus/compare/master...Pyre909:notepad-plus-plus:text-rendering_20260925

  • With the default settings and Windows ClearType on, the text is drawn exactly as today.
  • It also fixes #17461: under DirectWrite, "Follow Windows" honours the Windows "Smooth edges of screen fonts" switch again, at once and after a restart (checked on Windows).
  • May help #17180 (narrower characters with DirectWrite): the "GDI classic" mode measures like GDI, with whole-pixel font sizes and advances.
  • It passes the full CI on the fork. It includes a small Scintilla patch (Win32, marked "N++"): private messages 5101/5102 for the DirectWrite rendering parameters.
  • Written with the help of an AI assistant (Claude), then reviewed and tested.

Screenshot of the new group in Preferences > Editing 1:

Image

Source: notepad-plus-plus/notepad-plus-plus