New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Font warning on startup #871
Comments
Such "PC fonts" / CP437 fonts do indeed lack sufficient support of a reasonable minimum character set as nowadays anticipated. If they are correctly marked with this information, mintty gives you this warning. |
On the other hand, I do not get a warning with those fonts (e.g. Px437 VGA SquarePx, PxPlus IBM BIOS) and they are listed in my font menu... ? |
I prefer the clean look and it's not that pixelated on x1200/1440 resolutions Would re: other fonts, I only installed that one since others are not suitable |
The 23 PxPlus fonts can all be used without a warning. I'd think that provides a sufficient selection of nostalgic pixel fonts. |
Uh, this is not a nostalgic trip. It's a specific font I use daily, it's set and works in vscode/vs2019 etc. I could use Comic Sans, it also doesn't give a warning :) I've currently pinned the wslterm on the taskbar, the command line it executes looks like Is there some commandline option to suppress messageboxes from being used? I guess I could make that commandline a .bat and roundtrip it through a cmd.exe or something; it would probably flash the cmd.exe window briefly though. |
One annoyance with the messagebox is also that when you "shift-click" on the task-bar pinned wsl terminal, on Windows 10 (1809) the messagebox is not always visible. I guess windows thinks that some focus-stealing is happening and leaves the messagebox as bottom priority. End result is then that I need to hover on top of the pinned icon and select the messagebox window from collapsed stack for it to become raised and visible. |
Is it acceptable in your use case to run "ASCII-only", i.e. with codepage CP437? |
As a workaround, you could also wrap mintty inside the shortcut to provide a dummy output: |
... and configure the shortcut to "Run: Minimized" to minimize the console flashing effect. |
Yes, so any non-ASCII character would appear as multiple ☺; apparently, that's not a solution for you. |
No, it's not. It's a wide character, taken up two terminal character cells like all CJK and some other characters.
There are a lot of fonts distinguishing 0, 1, I — you might like: |
I read this: https://github.com/mintty/mintty/wiki/Tips#font-rendering-and-geometry |
Not quite. It's Windows that applies font fallback. Mintty does neither detect nor handle it explicitly. |
In the course of #527, this issue has been discussed at length already, and the font warning limited to a minimal situation of missing basic characters. If I'd remove that, too, other people might happen to run mintty with such incapable fonts, miss their expected characters, and submit a complaint… |
I concur. I'd still like a workable workaround, either somekind of "yes, please let me shoot my leg" option or "don't bother me with messageboxes". I took a quick look at possibility to have |
I'm really confused why |
I offered two. What about simply using the PxPlus variants of your fonts? |
|
Released 3.0.1. |
So this is how this works: Now no warning, great! |
I'm getting "Font has limited support for character ranges: Px437 IBM PS/2thin2" modal messagebox on each and every terminal window open.
Could this maybe be put behind a toggle or happen once per encountered deficient font?
The font itself is from https://int10h.org/oldschool-pc-fonts/fontlist/#ibmps2_isa
It's monospace, but doesn't show in font selector. I'm using it by having
in
%APPDATA%\wsltty\config
The text was updated successfully, but these errors were encountered: