Multiple Fonts
Discord username (optional)
No response
Describe the solution you'd like?
I want to specify multiple fonts for an English font and a Nerd Font with Japanese.
Is your feature request related to a problem? Please describe.
I use [FiraCode](https://github.com/tonsky/firacode) and [HackGen](https://github.com/yuru7/hackgen).
So I want to specify both.
Additional context
No response
How important is this feature to you?
5 (Can't work without it!)
Warp Internal (ignore) - linear-label:770f6576-d6c0-4e4f-a259-fc64b5156087
None
Thanks for this feature request! I don't think we are likely to implement this any time soon, but it's on the backlog.
Please add a :+1: to the original post at the top to signal that you want this feature, and then hit the subscribe button if you'd like to be notified.
this feature maybe solve the “issue”/feature implemented by Monaspace GitHub font? It’s possible to define different font families for code comments/copilot suggestions/normal code
+1
Upping this one.
Recently started using monaspace but I'm missing the nerd font glyphs with Warp. With VSCode, I can specifiy multiple font families and with iTerm2 specify a separate "symbol" font. Would beawesome to have this in Warp as well.
+1
+1
+1
iTerm2 allows additional fonts for Ligatures or "non-ASCII" as far as I know.
NerdFonts has their script you can use to convert any font into a NerdFont with all the added features. Would that not work for these "special cases"?
https://github.com/ryanoasis/nerd-fonts#font-patcher
Directly from iTerm2:
Fonts
iTerm2 has the capability of rendering text with thin strokes to improve readability. You can change how this works in the Text panel of the Profiles tab of Settings.
You can also specify the a "non-ASCII" font in the Text panel of profile Settings. This font will be used for all code points greater than or equal to 128 or for characters with combining marks.
Some fonts, such as FiraCode, support ligatures if enabled in iTerm2. You can enable ligatures in Prefs > Profiles > Text. Ligatures are rendered using CoreText, which is significantly slower than Core Graphics. NOTE: Ligatures are not supported by the GPU renderer and will reduce performance.
iTerm2 allows additional fonts for Ligatures or "non-ASCII" as far as I know.
NerdFonts has their script you can use to convert any font into a NerdFont with all the added features. Would that not work for these "special cases"?
https://github.com/ryanoasis/nerd-fonts#font-patcher
Directly from iTerm2:
Fonts
iTerm2 has the capability of rendering text with thin strokes to improve readability. You can change how this works in the Text panel of the Profiles tab of Settings.
You can also specify the a "non-ASCII" font in the Text panel of profile Settings. This font will be used for all code points greater than or equal to 128 or for characters with combining marks.
Some fonts, such as FiraCode, support ligatures if enabled in iTerm2. You can enable ligatures in Prefs > Profiles > Text. Ligatures are rendered using CoreText, which is significantly slower than Core Graphics. NOTE: Ligatures are not supported by the GPU renderer and will reduce performance.
Actually you could even merge multiple fonts in a font editor, so the fallback-font feature in some software (e.g. most terminal emulators, vscode) is not necessary. However, having this feature built in a terminal emulator is convenient for users, because if so they don't have to tweak the fonts.
I think we can let user config the font range like this, which is the way I do in Ghostty:
font-codepoint-map = U+4E00-U+9FFF = LXGW WenKai Mono
font-codepoint-map = U+3400-U+4DBF = LXGW WenKai Mono
By this, I can set different font for the English text and Traditional Chinese text and it seems easier to implement.