[PR #12492] [MERGED] Fix font axes/features not working on DPI change #29074

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

📋 Pull Request Information

Original PR: https://github.com/microsoft/terminal/pull/12492
Author: @PankajBhojwani
Created: 2/15/2022
Status: ✅ Merged
Merged: 2/16/2022
Merged by: @undefined

Base: main ← Head: dev/pabhoj/font_feats_inconsistent


📝 Commits (4)

📊 Changes

1 file changed (+2 additions, -5 deletions)

View changed files

📝 src/cascadia/TerminalControl/ControlCore.cpp (+2 -5)

📄 Description

When the dpi is changed, call updateFont() instead of TriggerFontChange, this
means that we continue to use the existing font features/axes

Closes #11287


🔄 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/12492 **Author:** [@PankajBhojwani](https://github.com/PankajBhojwani) **Created:** 2/15/2022 **Status:** ✅ Merged **Merged:** 2/16/2022 **Merged by:** [@undefined](undefined) **Base:** `main` ← **Head:** `dev/pabhoj/font_feats_inconsistent` --- ### 📝 Commits (4) - [`382675c`](https://github.com/microsoft/terminal/commit/382675c5031ee5d3f139c59d535aebe8c30cfef2) overload updatefont - [`ab6a0ec`](https://github.com/microsoft/terminal/commit/ab6a0ec7729d4184dac959d474c937575d32f4a2) use _updateFont instead - [`26f02e8`](https://github.com/microsoft/terminal/commit/26f02e8e2ac0f8042f0fc37c17a996627a4595d8) add comment to explain - [`37c25d9`](https://github.com/microsoft/terminal/commit/37c25d9894bff1c756991881ccda8ab6b0f52fb2) Remove unused variable ### 📊 Changes **1 file changed** (+2 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `src/cascadia/TerminalControl/ControlCore.cpp` (+2 -5) </details> ### 📄 Description When the dpi is changed, call `updateFont()` instead of `TriggerFontChange`, this means that we continue to use the existing font features/axes Closes #11287 --- <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:32: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#29074