Warp icon indicating copy to clipboard operation
Warp copied to clipboard

Multiple Fonts

Open 5ouma opened this issue 2 years ago • 10 comments

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

5ouma avatar Jul 06 '23 08:07 5ouma

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.

dannyneira avatar Jul 11 '23 21:07 dannyneira

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

zoedsoupe avatar Nov 14 '23 19:11 zoedsoupe

+1

Arciesis avatar Mar 09 '24 14:03 Arciesis

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.

tigerkzr avatar Oct 30 '24 22:10 tigerkzr

+1

CX330Blake avatar Feb 02 '25 12:02 CX330Blake

+1

Jim876633 avatar Feb 24 '25 01:02 Jim876633

+1

arielherself avatar Jul 17 '25 09:07 arielherself

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.

SilentGlasses avatar Aug 18 '25 14:08 SilentGlasses

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.

arielherself avatar Aug 21 '25 10:08 arielherself

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.

CX330Blake avatar Dec 07 '25 03:12 CX330Blake