[PR #10498] [MERGED] Render SGR 1 ("intensity") as bold in the DX engine #28076

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

📋 Pull Request Information

Original PR: https://github.com/microsoft/terminal/pull/10498
Author: @skyline75489
Created: 6/23/2021
Status: Merged
Merged: 7/7/2021
Merged by: @undefined

Base: mainHead: chesterliu/dev/bold-2021-edition


📝 Commits (1)

  • 265bdc7 Initial implementation for bold support in DxRenderer

📊 Changes

3 files changed (+10 additions, -1 deletions)

View changed files

📝 src/renderer/dx/CustomTextLayout.cpp (+7 -1)
📝 src/renderer/dx/CustomTextRenderer.h (+2 -0)
📝 src/renderer/dx/DxRenderer.cpp (+1 -0)

📄 Description

This commit adds support for bold text in DxRenderer.

For now, bold fonts are always rendered using DWRITE_FONT_WEIGHT_BOLD
regardless of the base weight.

As yet, this behavior is unconfigurable.

References
Previous refactoring PRs: #9096 (DxFontRenderData) #9201 (DxFontInfo)
SGR support tracking issue: #6879

Closes #109


🔄 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/10498 **Author:** [@skyline75489](https://github.com/skyline75489) **Created:** 6/23/2021 **Status:** ✅ Merged **Merged:** 7/7/2021 **Merged by:** [@undefined](undefined) **Base:** `main` ← **Head:** `chesterliu/dev/bold-2021-edition` --- ### 📝 Commits (1) - [`265bdc7`](https://github.com/microsoft/terminal/commit/265bdc777a7e6d141e9a90507817aa8f9e0c7ea3) Initial implementation for bold support in DxRenderer ### 📊 Changes **3 files changed** (+10 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `src/renderer/dx/CustomTextLayout.cpp` (+7 -1) 📝 `src/renderer/dx/CustomTextRenderer.h` (+2 -0) 📝 `src/renderer/dx/DxRenderer.cpp` (+1 -0) </details> ### 📄 Description This commit adds support for bold text in DxRenderer. For now, bold fonts are always rendered using DWRITE_FONT_WEIGHT_BOLD regardless of the base weight. As yet, this behavior is unconfigurable. References Previous refactoring PRs: #9096 (DxFontRenderData) #9201 (DxFontInfo) SGR support tracking issue: #6879 Closes #109 --- <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:26:10 +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#28076