Invaild font in Profiles.json causes text to go really small and crashes the terminal when new session is made with the profile #1951

Closed
opened 2026-01-30 22:42:43 +00:00 by claunia · 2 comments
Owner

Originally created by @JushBJJ on GitHub (Jun 23, 2019).

Environment

Windows build number: [Version 10.0.18362.175]]
Windows Terminal version (if applicable):

Microsoft Terminal (Preview)

Any other software?

No.

Steps to reproduce

Change the fontface in profiles.json on what ever profile you want into a invalid fontface/unsupported fontface.
Example: "fontFace" : "ooga booga",

Expected behavior

Default to config to the consolas font after a certain time. (Maybe in 5-10 seconds to avoid annoying live changes, especially when you're editing the file in VSCode.

Actual behavior

image

Originally created by @JushBJJ on GitHub (Jun 23, 2019). <!-- This bug tracker is monitored by Windows Terminal development team and other technical folks. **Important: When reporting BSODs or security issues, DO NOT attach memory dumps, logs, or traces to Github issues**. Instead, send dumps/traces to secure@microsoft.com, referencing this GitHub issue. Please use this form and describe your issue, concisely but precisely, with as much detail as possible. --> # Environment ```none Windows build number: [Version 10.0.18362.175]] Windows Terminal version (if applicable): Microsoft Terminal (Preview) Any other software? No. ``` # Steps to reproduce <!-- A description of how to trigger this bug. --> Change the fontface in profiles.json on what ever profile you want into a invalid fontface/unsupported fontface. Example: `"fontFace" : "ooga booga"`, # Expected behavior <!-- A description of what you're expecting, possibly containing screenshots or reference material. --> Default to config to the consolas font after a certain time. (Maybe in 5-10 seconds to avoid annoying live changes, especially when you're editing the file in VSCode. # Actual behavior <!-- What's actually happening? --> ![image](https://user-images.githubusercontent.com/36951064/59970630-a82ed380-95ae-11e9-9d8a-a4b9109e0f40.png)
claunia added the Needs-Tag-FixResolution-DuplicateProduct-Terminal labels 2026-01-30 22:42:43 +00:00
Author
Owner

@ghost commented on GitHub (Jun 23, 2019):

I can confirm. I just ran into this issue with a valid font installed that has multiple spaces in the name.

@ghost commented on GitHub (Jun 23, 2019): I can confirm. I just ran into this issue with a valid font installed that has multiple spaces in the name.
Author
Owner

@DHowett-MSFT commented on GitHub (Jun 24, 2019):

Thanks for reporting. #550 contains the words “font” “not exist” and “crash”. #1017 as well. Please make sure you search before reporting a new issue.
I know we have an issue tracking the weird rendering for nonexistent fonts too, but I’m on my phone and GitHub mobile search is pretty bad.

@DHowett-MSFT commented on GitHub (Jun 24, 2019): Thanks for reporting. #550 contains the words “font” “not exist” and “crash”. #1017 as well. Please make sure you search before reporting a new issue. I know we have an issue tracking the weird rendering for nonexistent fonts too, but I’m on my phone and GitHub mobile search is pretty bad.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#1951