[PR #16821] Add support for customizing font fallback #31006

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

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

State: closed
Merged: Yes


This adds support for specifying more than one font family using a
syntax that is similar to CSS' font-family property.
The implementation is straight-forward and is effectively
just a wrapper around IDWriteFontFallbackBuilder.

Closes #2664

PR Checklist

  • Font fallback
    • Write "「猫」"
    • Use "Consolas" and remember the shape of the glyphs
    • Use "Consolas, MS Gothic" and check that it changed
  • Settings UI autocompletion
    • It completes
    • It filters
    • It recognizes commas and starts a new name
  • All invalid font names are listed in the warning message
**Original Pull Request:** https://github.com/microsoft/terminal/pull/16821 **State:** closed **Merged:** Yes --- This adds support for specifying more than one font family using a syntax that is similar to CSS' `font-family` property. The implementation is straight-forward and is effectively just a wrapper around `IDWriteFontFallbackBuilder`. Closes #2664 ## PR Checklist * Font fallback * Write "「猫」" * Use "Consolas" and remember the shape of the glyphs * Use "Consolas, MS Gothic" and check that it changed ✅ * Settings UI autocompletion * It completes ✅ * It filters ✅ * It recognizes commas and starts a new name ✅ * All invalid font names are listed in the warning message ✅
claunia added the pull-request label 2026-01-31 09:44: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#31006