[PR #12242] AtlasEngine: Implement ClearType blending #28918

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

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

State: closed
Merged: Yes


This commit extracts DirectWrite related shader code into dwrite.hlsl
and adds support for ClearType blending.

Additionally the following changes are piggybacked into this commit:

  • Some incorrect code around fallback glyph sizing was removed as
    this is already accomplished by CreateTextLayout internally
  • Hot-reload failed to work with dwrite.hlsl as the pFileName
    parameter was missing
  • Legibility of the dotted underline was improved by increasing
    the line gap from 1:1 to 3:1

Part of #9999.

PR Checklist

  • I work here
  • Tests added/passed

Validation Steps Performed

  • Types are clear
**Original Pull Request:** https://github.com/microsoft/terminal/pull/12242 **State:** closed **Merged:** Yes --- This commit extracts DirectWrite related shader code into dwrite.hlsl and adds support for ClearType blending. Additionally the following changes are piggybacked into this commit: * Some incorrect code around fallback glyph sizing was removed as this is already accomplished by `CreateTextLayout` internally * Hot-reload failed to work with dwrite.hlsl as the `pFileName` parameter was missing * Legibility of the dotted underline was improved by increasing the line gap from 1:1 to 3:1 Part of #9999. ## PR Checklist * [x] I work here * [x] Tests added/passed ## Validation Steps Performed * Types are clear ✅
claunia added the pull-request label 2026-01-31 09:31:37 +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#28918