[PR #12278] AtlasEngine: Fix various ClearType rendering issues #28960

Closed
opened 2026-01-31 09:31:52 +00:00 by claunia · 0 comments
Owner

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

State: closed
Merged: Yes


This commit fixes the following issues when ClearType rendering is enabled:

  • Colored glyphs are now drawn using grayscale AA, similar to all current
    browsers. This ensures proper gamma correctness during blending in our
    shader, while generally making no discernable difference for legibility.
  • Our ClearType shader only emits fully opaque colors, just like the official
    ClearType implementation. Due to this we need to force grayscale AA if the
    user specifies both ClearType and a background image, as the image would
    otherwise not be visible.

PR Checklist

  • I work here
  • Tests added/passed

Validation Steps Performed

  • Grayscale AA when drawing emojis
  • Grayscale AA when using a background image
**Original Pull Request:** https://github.com/microsoft/terminal/pull/12278 **State:** closed **Merged:** Yes --- This commit fixes the following issues when ClearType rendering is enabled: * Colored glyphs are now drawn using grayscale AA, similar to all current browsers. This ensures proper gamma correctness during blending in our shader, while generally making no discernable difference for legibility. * Our ClearType shader only emits fully opaque colors, just like the official ClearType implementation. Due to this we need to force grayscale AA if the user specifies both ClearType and a background image, as the image would otherwise not be visible. ## PR Checklist * [x] I work here * [x] Tests added/passed ## Validation Steps Performed * Grayscale AA when drawing emojis ✅ * Grayscale AA when using a background image ✅
claunia added the pull-request label 2026-01-31 09:31:52 +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#28960