[PR #14099] [MERGED] AtlasEngine: Block chars done right-er #29936

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

📋 Pull Request Information

Original PR: https://github.com/microsoft/terminal/pull/14099
Author: @lhecker
Created: 9/29/2022
Status: ✅ Merged
Merged: 10/17/2022
Merged by: @undefined

Base: main ← Head: dev/lhecker/14098-block-drawings


📝 Commits (3)

  • d655ff7 AtlasEngine: Block chars done right-er
  • e2989ba Don't adjust the size of the user's chosen font
  • 5ca837d Merge remote-tracking branch 'origin/main' into dev/lhecker/14098-block-drawings

📊 Changes

4 files changed (+43 additions, -27 deletions)

View changed files

📝 src/renderer/atlas/AtlasEngine.api.cpp (+1 -0)
📝 src/renderer/atlas/AtlasEngine.cpp (+4 -0)
📝 src/renderer/atlas/AtlasEngine.h (+2 -0)
📝 src/renderer/atlas/AtlasEngine.r.cpp (+36 -27)

📄 Description

This commit makes the following improvements:

  • Only adjust block characters that come from fallback fonts. This ensures
    that the glyphs of the chosen font all look exactly as they were designed.
  • When adjusting the size, use the fallback font's full block glyph U+2588
    to determine the size that the given glyph should have.

Closes #14098

Validation Steps Performed

  • Print UTF-8-demo.txt in Consolas.
  • All block glyphs look uniform. ✅

🔄 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/14099 **Author:** [@lhecker](https://github.com/lhecker) **Created:** 9/29/2022 **Status:** ✅ Merged **Merged:** 10/17/2022 **Merged by:** [@undefined](undefined) **Base:** `main` ← **Head:** `dev/lhecker/14098-block-drawings` --- ### 📝 Commits (3) - [`d655ff7`](https://github.com/microsoft/terminal/commit/d655ff7bb7ea1064d21fad47efb7f2e01bfdaa90) AtlasEngine: Block chars done right-er - [`e2989ba`](https://github.com/microsoft/terminal/commit/e2989ba7fe15aca81258ac84b840213cabef8ced) Don't adjust the size of the user's chosen font - [`5ca837d`](https://github.com/microsoft/terminal/commit/5ca837d57f512459e6c9443ddbc8a040388e5d2e) Merge remote-tracking branch 'origin/main' into dev/lhecker/14098-block-drawings ### 📊 Changes **4 files changed** (+43 additions, -27 deletions) <details> <summary>View changed files</summary> 📝 `src/renderer/atlas/AtlasEngine.api.cpp` (+1 -0) 📝 `src/renderer/atlas/AtlasEngine.cpp` (+4 -0) 📝 `src/renderer/atlas/AtlasEngine.h` (+2 -0) 📝 `src/renderer/atlas/AtlasEngine.r.cpp` (+36 -27) </details> ### 📄 Description This commit makes the following improvements: * Only adjust block characters that come from fallback fonts. This ensures that the glyphs of the chosen font all look exactly as they were designed. * When adjusting the size, use the fallback font's full block glyph U+2588 to determine the size that the given glyph should have. Closes #14098 ## Validation Steps Performed * Print `UTF-8-demo.txt` in Consolas. * All block glyphs look uniform. ✅ --- <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:37:43 +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#29936