-
-
Notifications
You must be signed in to change notification settings - Fork 161
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
Configure font for character ranges (symbol_map) #124
Comments
I didn't even know about it, thank you very much for sharing @LiHRaM . For now I will move to wishlist to evaluate it later 👌 |
Connected: #135 Rio added a fallback for font icons as wezterm have, but would be nice to have the symbol map, so as you mention you could choose which font to use for specific symbol maps. |
How to configure the fallback fonts ? I want to add a fallback font for CJK characters. Thanks
|
@hustcer like this [fonts]
extras = [{ family = "Microsoft JhengHei" }] |
Thanks, I have tried it the first time 0.0.22 was released, but it didn't work for me, my config: cursor = '|'
blinking_cursor = true
performance = "High"
theme = "dracula"
ignore_theme_selection_fg_color = false
padding-x = 0
option-as-alt = 'both'
[window]
width = 1000
height = 600
opacity = 1.0
mode = "Windowed"
[fonts]
size = 26
extras = [
{ family = "PingFang SC" },
{ family = "Sarasa Gothic SC" },
]
[fonts.regular]
family = "Fira Code"
style = "normal"
weight = 400
[fonts.bold]
family = "Fira Code"
style = "normal"
weight = 800
[fonts.italic]
family = "Fira Code"
style = "italic"
weight = 400
[fonts.bold-italic]
family = "Fira Code"
style = "italic"
weight = 800 |
@hustcer did you install using cargo? |
Nope, I installed with the release: |
Interesting, does it return an error message in the UI? |
No error or warnings,It's like nothing ever changed |
Implemented in #1005 🙏 |
The kitty terminal has a very nice way of supporting powerline / alternative fonts without having to patch your current preferred font, which is the
symbol_map
feature.Docs: https://sw.kovidgoyal.net/kitty/conf/#opt-kitty.symbol_map
You can set any font as your default font for the terminal, and then you can define which symbols would be rendered using another font using the
symbol_map
. I would love to something like this in Rio.The text was updated successfully, but these errors were encountered: