Font options for the font-codepoint-map setting
#4072
Unanswered
Aeron
asked this question in
Feature Requests, Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The problem I have is quite simple: I want to remap a few font sprites with a font of my choosing so it better fits my prompt format. And it’s fairly easy by using the aforementioned
font-codepoint-mapsetting. But it only allows specifying a font name, nothing more. Also, it doesn’t seem that remapping considers thefont-stylesetting or anything like that. So, if I want to remap a code-point to a certain font style likeThin, I’m out of luck.The probable solution here is to add font options for mapping values which is (kind of) relevant to #3296 on the matter of how.
Here is the example (Terminal.app on the left; Ghostty on the right):

The font is Input Mono Condensed. The arrow is not the problem—it’s just a different font fallback. The
U+250C(┌) andU+2514(└) characters are the subject. Overlapping should be fixable. Ghostty has a slightly bigger font—it’s intentional.Maybe, another solution is to introduce a setting to simply disable font sprites, so everything would be rendered as configured fonts. Not everyone runs Powerlines and the Doom Fire anyways.
Am I missing anything? I did my best to search through existing issues and discussions. Is there a simpler way I overlooked?
P.S. @mitchellh, thank you for all the effort and an amazing New Year’s present ❤️
Beta Was this translation helpful? Give feedback.
All reactions