[PR #15278] AtlasEngine: Add support for locl variants #30564

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

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

State: closed
Merged: Yes


Get the locale from GetUserDefaultLocaleName and pass it to
DirectWrite's GetGlyphs / GetGlyphPlacements.

This change is very important for some fonts, which heavily depend on
the locl table, like Source Han Sans for instance.

Closes #13685

Validation Steps Performed

  • Set font to Cascadia Code
  • Set locale to "pl-PL"
  • Type "Ć"
  • The acute is less angled and almost vertical
**Original Pull Request:** https://github.com/microsoft/terminal/pull/15278 **State:** closed **Merged:** Yes --- Get the locale from `GetUserDefaultLocaleName` and pass it to DirectWrite's `GetGlyphs` / `GetGlyphPlacements`. This change is very important for some fonts, which heavily depend on the locl table, like Source Han Sans for instance. Closes #13685 ## Validation Steps Performed * Set font to Cascadia Code * Set locale to "pl-PL" * Type "Ć" * The acute is less angled and almost vertical ✅
claunia added the pull-request label 2026-01-31 09:41:34 +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#30564