[PR #19441] Add bold font support to the GDI renderer #31843

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

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

State: closed
Merged: Yes


Summary of the Pull Request

Bold fonts support in GDI engine

References and Relevant Issues

#18919

Detailed Description of the Pull Request / Additional comments

Render SGR1 as bold in 256 and true colors, where "bold is intense" is not applicable.
Implemented by creating 2 extra fonts: bold for 1 and bold italic for 1 + 3.

No non-trivial changes, just extensions.
LOGFONT also supports Underline and StrikeOut, but they seem to be already covered by other means, so no combinatorial explosion of fonts expected.

Validation Steps Performed

PR Checklist

  • Tests added/passed
  • Documentation updated
  • Schema updated (if necessary)
**Original Pull Request:** https://github.com/microsoft/terminal/pull/19441 **State:** closed **Merged:** Yes --- ## Summary of the Pull Request Bold fonts support in GDI engine ## References and Relevant Issues [#18919](https://github.com/microsoft/terminal/issues/18919#issuecomment-3363275863) ## Detailed Description of the Pull Request / Additional comments Render SGR1 as bold in 256 and true colors, where "bold is intense" is not applicable. Implemented by creating 2 extra fonts: bold for 1 and bold italic for 1 + 3. No non-trivial changes, just extensions. LOGFONT also supports Underline and StrikeOut, but they seem to be already covered by other means, so no combinatorial explosion of fonts expected. ## Validation Steps Performed ## PR Checklist - [ ] Tests added/passed - [ ] Documentation updated - [ ] Schema updated (if necessary)
claunia added the pull-request label 2026-01-31 09:49:54 +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#31843