Metriche repository
- Star
- (35.764 star)
- Metriche merge PR
- (Merge medio 27g 19h) (24 PR mergiate in 30 g)
Descrizione
Windows Terminal version (or Windows build number)
OpenConsole built from the latest source or taken from the latest Terminal Preview, e.g. 1.10.2107.12003
Other Software
No response
Steps to reproduce
- Create the following file:
@echo off
chcp 65001
echo ⓒ
echo ⁺ⓒ
- Save as
test.cmdin UTF-8 encoding (or download test.cmd.txt and rename). - Build and run the latest OpenConsole.
- Set the font to Consolas.
- Run
test.cmd.
Expected Behavior

Actual Behavior

Details
It looks like the GDI renderer is having issues with the font fallback for the ⓒ - Circled Latin Small Letter C: U+24D2 character.
Usually it doesn't work at all and the replacement character is rendered instead.
However, as the example above demonstrates, sometimes it magically works in the presence of other Unicode characters, e.g. ⁺ - Superscript Plus Sign: U+207A.
It works as expected in WT and OpenConsole with the DirectX renderer. It also works as expected in other GDI apps with font fallback, e.g. notepad.exe.
Also, it looks like the fallback glyph isn't clipped properly and can overlap with the next one:
