[PR #10777] [CLOSED] [DRAFT] Use Font Set filtering/matching to better resolve complex name specifications #28224

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

📋 Pull Request Information

Original PR: https://github.com/microsoft/terminal/pull/10777
Author: @miniksa
Created: 7/23/2021
Status: Closed

Base: mainHead: dev/miniksa/win10_font_matching


📝 Commits (2)

📊 Changes

2 files changed (+79 additions, -8 deletions)

View changed files

📝 src/renderer/dx/DxFontInfo.cpp (+75 -7)
📝 src/renderer/dx/DxFontInfo.h (+4 -1)

📄 Description

Not ready for review. Go away.

TODO:

  • - Check that invoking with names that contain weight suffixes works
  • - Determine the proper hierarchy of weight/stretch/style versus the specified name when reducing font sets.
  • - Chill out the fallback and warning messages when something appropriate is resolved but the names don't match quite right.

Closes #9744


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/microsoft/terminal/pull/10777 **Author:** [@miniksa](https://github.com/miniksa) **Created:** 7/23/2021 **Status:** ❌ Closed **Base:** `main` ← **Head:** `dev/miniksa/win10_font_matching` --- ### 📝 Commits (2) - [`61c830e`](https://github.com/microsoft/terminal/commit/61c830e3933cd6031a3d2bdbf239f2847f3329e6) Attempt to use FontSet for more complex lookup of font sets so user specified names have a better chance of matching. - [`5a210e0`](https://github.com/microsoft/terminal/commit/5a210e05f817fa636f9b3492ba15cdaadae55d45) https://docs.microsoft.com/en-us/windows/win32/api/dwrite_3/ns-dwrite_3-dwrite_font_property says to leave locale blank for filtering. ### 📊 Changes **2 files changed** (+79 additions, -8 deletions) <details> <summary>View changed files</summary> 📝 `src/renderer/dx/DxFontInfo.cpp` (+75 -7) 📝 `src/renderer/dx/DxFontInfo.h` (+4 -1) </details> ### 📄 Description Not ready for review. Go away. TODO: - [ ] - Check that invoking with names that contain weight suffixes works - [ ] - Determine the proper hierarchy of weight/stretch/style versus the specified name when reducing font sets. - [ ] - Chill out the fallback and warning messages when something appropriate is resolved but the names don't match quite right. Closes #9744 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-31 09:27:08 +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#28224