[PR #4711] Add support for cleartype text antialiasing #25899

Open
opened 2026-01-31 09:12:30 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/microsoft/terminal/pull/4711

State: closed
Merged: Yes


Summary of the Pull Request

I needed to do something to keep sane so today I day of learned about antialiasing. This PR adds the ability to specify the "antialiasingMode" as a setting.

  • "antialiasingMode": "grayscale": the current behavior, D2D1_TEXT_ANTIALIAS_MODE_GRAYSCALE
  • "antialiasingMode": "cleartype": use D2D1_TEXT_ANTIALIAS_MODE_CLEARTYPE instead

PR Checklist

Detailed Description of the Pull Request / Additional comments

Grayscale:

image

Cleartype:
image

Side-by-side (can you tell which is which?)

image

**Original Pull Request:** https://github.com/microsoft/terminal/pull/4711 **State:** closed **Merged:** Yes --- ## Summary of the Pull Request I needed to do something to keep sane so today I day of learned about antialiasing. This PR adds the ability to specify the `"antialiasingMode"` as a setting. * "antialiasingMode": "grayscale": the current behavior, `D2D1_TEXT_ANTIALIAS_MODE_GRAYSCALE` * "antialiasingMode": "cleartype": use `D2D1_TEXT_ANTIALIAS_MODE_CLEARTYPE` instead ## PR Checklist * [x] Closes #1298 * [x] I work here * [ ] I didn't add tests * [x] Requires documentation to be updated ## Detailed Description of the Pull Request / Additional comments Grayscale: ![image](https://user-images.githubusercontent.com/18356694/75173847-2373f680-56f5-11ea-8896-c1cf04c61d41.png) Cleartype: ![image](https://user-images.githubusercontent.com/18356694/75173854-25d65080-56f5-11ea-9de1-e2d1c343cae5.png) Side-by-side (can you tell which is which?) <!-- grayscale, cleartype --> ![image](https://user-images.githubusercontent.com/18356694/75173864-28d14100-56f5-11ea-8bdd-d47a60fbbe4d.png)
claunia added the pull-request label 2026-01-31 09:12:30 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#25899