-
Notifications
You must be signed in to change notification settings - Fork 9.1k
Closed
Labels
Area-RenderingText rendering, emoji, complex glyph & font-fallback issuesText rendering, emoji, complex glyph & font-fallback issuesIssue-BugIt either shouldn't be doing this or needs an investigation.It either shouldn't be doing this or needs an investigation.Product-ConhostFor issues in the Console codebaseFor issues in the Console codebaseResolution-DuplicateThere's another issue on the tracker that's pretty much the same thing.There's another issue on the tracker that's pretty much the same thing.
Description
This was discovered from the issue here: microsoft/WSL#2050
The issue is that if I'm using WSL, and execute a command like powershell.exe -command 'Write-output hi' | cat the console font changes to Raster fonts and it resizes the console.
Windows version:
C:\>ver
Microsoft Windows [Version 10.0.17763.292]
Steps to reproduce
- Delete
HKEY_CURRENT_USER\Consoleto reset console to all default settings - Run ubuntu console. You should now have these font settings:

- Execute
powershell.exe -command 'Write-output hi'- no font change, and it correctly echo 'hi' to the command line:

- Execute
powershell.exe -command 'Write-output hi' | cat- font changes to Raster Fonts, and windows resizes to match new font:


Some notes on the behaviour that we discovered in the previous issue:
- Doesn't occur in wsltty
- Doesn't occur if you are using using
Lucida Consoleas your font. - Confirmed to also occur on build 18329
Let me know if you need any further debugging or testing.
therealkenc, HBelusca, lmakarov, harounhajem, Whobeu and 8 more
Metadata
Metadata
Assignees
Labels
Area-RenderingText rendering, emoji, complex glyph & font-fallback issuesText rendering, emoji, complex glyph & font-fallback issuesIssue-BugIt either shouldn't be doing this or needs an investigation.It either shouldn't be doing this or needs an investigation.Product-ConhostFor issues in the Console codebaseFor issues in the Console codebaseResolution-DuplicateThere's another issue on the tracker that's pretty much the same thing.There's another issue on the tracker that's pretty much the same thing.