[PR #11764] Use nearby fonts for font fallback #28730

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

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

State: closed
Merged: Yes


This commit is a minimal fix in order to pass the
IDWriteFontCollection we create out of .ttf files residing next to our
binaries to the IDWriteFontFallback::MapCharacters call. The
IDWriteTextFormat is used in order to carry the font collection over
into CustomTextLayout.

Validation

  • Put JetBrainsMono-Regular.ttf into the binary output directory
  • Modify HKCU:\Console\*\FaceName to JetBrains Mono
  • Launch OpenConsole.exe
  • OpenConsole uses JetBrains Mono ✔️

Closes #11032
Closes #11648

**Original Pull Request:** https://github.com/microsoft/terminal/pull/11764 **State:** closed **Merged:** Yes --- This commit is a minimal fix in order to pass the `IDWriteFontCollection` we create out of .ttf files residing next to our binaries to the `IDWriteFontFallback::MapCharacters` call. The `IDWriteTextFormat` is used in order to carry the font collection over into `CustomTextLayout`. ## Validation * Put `JetBrainsMono-Regular.ttf` into the binary output directory * Modify `HKCU:\Console\*\FaceName` to `JetBrains Mono` * Launch OpenConsole.exe * OpenConsole uses JetBrains Mono ✔️ Closes #11032 Closes #11648
claunia added the pull-request label 2026-01-31 09:30:24 +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#28730