GitBash Custom Font Hack? Can anyone confirm that is truly a hack? #170138
Replies: 2 comments
-
|
Not a hack, just how mintty (the terminal used by Git Bash) discovers fonts on Windows Why did your custom font show up as
|
Beta Was this translation helpful? Give feedback.
-
|
I don't think it's a hack. It sounds more like Mintty recognized the font because it met the required metadata and monospaced font requirements, while Schrift Generator tools are useful for previewing different Unicode font styles before choosing one. The |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
First a descriptive picture, pulling all the hard evidence together:
So, the image there basically gives all of the relevant information.
Specs: Windows 10, GitBash, mintty
The issue I was having: I couldn't get my own custom font into the realm of the terminal so that it could be perceived by the terminal and utilized.
I just kept saying: "Why! Why!? Why can't I get my own custom font into the inside of this terminal!?"
I tried various things, installing the font, deleting it, trying again: "If I can't get my own font into this terminal I'm going back to the linux box!"
Then I somehow struck gold...
Untitled1
I opened the GitBash terminal and then looked in the font selections: "Oh, that's weird, it says 'Untitled1'."
"At least I slipped something in there, right?"
Then I tried it, and noticed: "Yes! This is somehow my font!"
My custom font had somehow, some way, entered into the terminal's perceptive realm.
At the time, about eight months back, I had no idea how or why this worked. To this day, not even the foggiest shadow of a clue...
So, I now put it to the GitHub community at large:
Why did this work?
Is there anyone who can explain any other similar method of sneaking your own font into GitBash for use at the terminal without changing the registry?
I would also put to you that there might be some standard, well known way of doing this, or some criteria of which my feeble mind is unawares.
What's your take:
Hack?
Or not at all a Hack?
-dckimGUY
Beta Was this translation helpful? Give feedback.
All reactions