[PR #14014] AtlasEngine: Fix bugs around bitmap font rendering #29891

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

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

State: closed
Merged: Yes


This commit fixes several issues:

  • Some fonts set a line-gap even though they behave as if they
    don't want any line-gaps. Since Terminals don't really have
    any gaps anyways, it'll now not be taken into account anymore.
  • Center alignment breaks bitmap glyphs which expect left-alignment.
  • Automatic "opsz" axis makes Terminus TTF's italic glyphs look quite
    weird. I disabled this feature as we might not need it anyways.

A complete fix depends on #14013
Closes #14006

Validation Steps Performed

  • Use Terminus TTF at 13.5pt
  • Print UTF-8-demo.txt
  • No gaps between block characters
**Original Pull Request:** https://github.com/microsoft/terminal/pull/14014 **State:** closed **Merged:** Yes --- This commit fixes several issues: * Some fonts set a line-gap even though they behave as if they don't want any line-gaps. Since Terminals don't really have any gaps anyways, it'll now not be taken into account anymore. * Center alignment breaks bitmap glyphs which expect left-alignment. * Automatic "opsz" axis makes Terminus TTF's italic glyphs look quite weird. I disabled this feature as we might not need it anyways. A complete fix depends on #14013 Closes #14006 ## Validation Steps Performed * Use Terminus TTF at 13.5pt * Print UTF-8-demo.txt * No gaps between block characters ✅
claunia added the pull-request label 2026-01-31 09:37:28 +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#29891