-
Notifications
You must be signed in to change notification settings - Fork 8.5k
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
Some installed fonts are not loading #295
Comments
The default "terminal" on Windows is I believe most monospaced fonts should work in conhost, but I can't recall the specific metrics by which we decide if a particular font is usable or not. Perhaps @miniksa might know more? |
The Old New Thing - Why are console windows limited to Lucida Console and raster fonts? |
I don't think that's strictly true anymore. We (@paulcam206) added support for more freely setting the fonts, we fixed the bugs Raymond describes there. |
It looks like we're asking GDI for FIXED_PITCH, FF_MODERN, and TrueType fonts that match the charset associated with whatever codepage you have the console set to. See LOGFONT documentation and TranslateCharsetInfo documentation. If it doesn't show up, then you either have the wrong codepage or GDI thinks that the font doesn't have one of the properties above. Also the limitations described by Raymond don't all apply anymore. We took a bunch of them out by either fixing bugs or inserting workarounds like clipping glyphs to rectangles. |
You can actually set pretty much any TrueType font (via the SetCurrentConsoleFontEx API) if you don't care about how weird it looks ... I have C# code for the |
I just filed this and this issues, but was referred back to you console guys here.
|
@E3V3A Could you file new issues for each of these? Best practice is to not overload existing threads with new (unrelated) topics. |
I have copied apples' SF Mono from a macos box but it is not shown in the font choosing ui. |
@mailinglists35, My October 26th post is what the code is looking for when it is choosing a font. I'm also relatively certain that your usage of copying and pasting it from a MacOS box to a Windows machine is against Apple's licensing agreement for that font. As such, I cannot help you any further. |
Using a free developer account I have downloaded Xcode 8 which contains the font. Nowehere in the license file I find text restricting personal usage of that font. There are paragraphs about the software and sdk, but literally nothing about the font. |
Fonts, especially fonts that major corporations commission as their flagship design system, are generally copyrighted and licensed. An express lack of written permission means that I must choose the safe option and believe that I do not have permission. Therefore, I cannot gain access to this font and debug the issue which follows then that I cannot help you. I'm sorry. |
@mailinglists35 |
For what it's worth, the SF Font is San Fransisco, the system font for iOS, macOS, tvOS, and watchOS. which is freely downloadable, but is only for use creating mock-ups of UI for iOS, macOS, tvOS, and watchOS -- you can see the license in the source of that page, or in the license file in the zip. |
Also Roboto Mono is not displayed. Latest update TTF files here |
This is still an issue. |
@MFry typically you can tell that something is still an issue if the issue is still open 😉 |
The "Hellfont Cyr" terminal font is not rendered in v2 console. Instead of its 9x16 typeface, some random 12x16 is chosen. (Left is ForceV2=0, right is ForceV2=1. Same font settings.) |
@AnrDaemon Sorry, the v2 console doesn't support bitmap fonts. |
Then why it allows selecting them, pretty please? |
@AnrDaemon because the last time anybody made sweeping changes to the property page infrastructure in the console I was an infant. 😄 |
I'm not saying about sweeping changes. I'm saying about disconnection between apparent configuration and actual behavior. |
I mean, speaking as a developer who uses TrueType fonts for hours in the Terminal and doesn't experience eye bleeding, you might want to talk to a doctor about that. 😝 The real answer here is simply that the Vintage Console property sheet simply isn't receiving updates anymore. So at some point, we stopped supporting bitmap fonts in the console, but forgot to remove the code from the property sheet to load those fonts as well. It could be reasoned that this is a bug in behavior for the property sheet. I'll move that to it's own thread. |
Windows build:
Microsoft Windows [Version 10.0.16299.665]
What I'm trying to do:
Install a font to windows and load it into the default terminal emulator for WSL ubuntu.
What's wrong:

Not all installed fonts are available. As one example, I have installed GNU unifont as shown here:
But I am unable to locate this font in the settings pane of the default terminal.


On the other hand, other terminal emulators have no problem locating all of my fonts. Here's the font selected ConEmu's settings pane:

This is not the only font I've had issues with. For some reason, fonts like Ubuntu Mono show up just fine. But fonts like GNU Unifont or Everson Mono will not show up. Is there some hidden feature of these fonts which makes them incompatible for WSL ubuntu's default terminal? Or is this perhaps a defect? Any help with getting these fonts added would be greatly appreciated. Thank you.
As a side note: I'd also appreciate if anyone could educate me on what is the proper name for "WSL ubuntu's default terminal."
The text was updated successfully, but these errors were encountered: