Some Unicode characters from Private Use Area rendered incorrectly #18803

Open
opened 2026-01-31 06:24:47 +00:00 by claunia · 0 comments
Owner

Originally created by @pi-314 on GitHub (Nov 3, 2022).

Windows Terminal version

1.16.2642.0

Windows build number

10.0.22000.0

Other Software

Affected font:

  • Meslo LG S NF (Nerd Font patched )
    Also checked with few other power line fonts -> same behaviour

Unrelated:

  • WSL2
  • Ubuntu 20.04
  • zsh

Steps to reproduce

  • open terminal.
  • select MesloLGS NF (or other power line font) for current profile.
  • ensure that "useAtlasEngine": true
  • echo -e "\uE0B0\u2012\uE0B1\u2012\uE0B2\u2012\uE0B3\u2012\u2012"

Expected Behavior

All Unicode characters should be rendered correctly.

Actual Behavior

If "AtlasEngine" is on, some glyphs from Private Use Area (U+0E000 - U+0F8FF) are rendered misplaced and of wrong size. The engine seems to calculate either the height or bearingY (or both) for that glyphs wrong or maybe the issue comes from antialiasing. Some characters appers to be rendered bigger but then not scaled but just truncated to the character's boundary without respecting of glyph's origin. Some other (like the patched icons on the screenshot), by contrast, appears to be scaled smaller.

With "useAtlasEngine": false the issue is not there.

AtlasEngine vs. "old" behaviour:
grafik

Unfortunately I was not able to check if the font provides all metrics correctly due to a lack of time but the issue seems not to be related to any particular font so it definetively comes from AtlasEngine.

Originally created by @pi-314 on GitHub (Nov 3, 2022). ### Windows Terminal version 1.16.2642.0 ### Windows build number 10.0.22000.0 ### Other Software Affected font: - Meslo LG S NF ([Nerd Font patched](https://github.com/romkatv/powerlevel10k/blob/master/font.md) ) Also checked with few other power line fonts -> same behaviour Unrelated: - WSL2 - Ubuntu 20.04 - zsh ### Steps to reproduce - open terminal. - select MesloLGS NF (or other power line font) for current profile. - ensure that `"useAtlasEngine": true` - `echo -e "\uE0B0\u2012\uE0B1\u2012\uE0B2\u2012\uE0B3\u2012\u2012"` ### Expected Behavior All Unicode characters should be rendered correctly. ### Actual Behavior If "AtlasEngine" is on, some glyphs from Private Use Area (U+0E000 - U+0F8FF) are rendered misplaced and of wrong size. The engine seems to calculate either the height or bearingY (or both) for that glyphs wrong or maybe the issue comes from antialiasing. Some characters appers to be rendered bigger but then not scaled but just truncated to the character's boundary without respecting of glyph's origin. Some other (like the patched icons on the screenshot), by contrast, appears to be scaled smaller. With `"useAtlasEngine": false` the issue is not there. AtlasEngine vs. "old" behaviour: ![grafik](https://user-images.githubusercontent.com/8823998/199639800-d08cb90b-11ad-43ba-a8f8-901b58fb5f9f.png) Unfortunately I was not able to check if the font provides all metrics correctly due to a lack of time but the issue seems not to be related to any particular font so it definetively comes from AtlasEngine.
claunia added the Issue-BugResolution-Duplicate labels 2026-01-31 06:24:48 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#18803