When I set icons explicitly with symbol_map, they are rendered much smaller than when kitty automatically set them with a fallback mechanism.
I am using kitty 0.24.2 and icons only nerd font: Symbols-2048-em Nerd Font Complete.ttf
Icons are set explicitly with:
# F655 :
# E615 :
# F0F6 :
symbol_map U+F655,U+E615,U+F0F6 Symbols Nerd Font
With this settings I get

When I comment out the snippet above and let kitty make all the job, I get

I use Ubuntu 21.10.
kitty --debug-font-fallback output:
U+f655 italic Face(family=Symbols Nerd Font, style=2048-em,
ps_name=SymbolsNerdFontComplete-2048-em,
path=/home/anuvyklack/.local/share/fonts/Unknown Vendor/TrueType/Symbols Nerd Font/Symbols_Nerd_Font_2048_em.ttf,
index=0, is_scalable=True, has_color=False, ascender=1638, descender=-410, height=2048, underline_position=-306,
underline_thickness=102, strikethrough_position=530, strikethrough_thickness=102)
U+e615 italic Face(family=Symbols Nerd Font, style=2048-em,
ps_name=SymbolsNerdFontComplete-2048-em,
path=/home/anuvyklack/.local/share/fonts/Unknown Vendor/TrueType/Symbols Nerd Font/Symbols_Nerd_Font_2048_em.ttf,
index=0, is_scalable=True, has_color=False, ascender=1638, descender=-410, height=2048, underline_position=-306,
underline_thickness=102, strikethrough_position=530, strikethrough_thickness=102)
The same problem I have with Material Design Icons icons only font.
I read that when fallback kitty use fontconfig cache. My $HOME/.config/fontconfig directory is empty.
How to make font rendering uniform between these two cases? And if icons can be rendered bigger or smaller how can I control their size?
When I set icons explicitly with
symbol_map, they are rendered much smaller than when kitty automatically set them with a fallback mechanism.I am using kitty
0.24.2and icons only nerd font: Symbols-2048-em Nerd Font Complete.ttfIcons are set explicitly with:
With this settings I get
When I comment out the snippet above and let kitty make all the job, I get
I use Ubuntu 21.10.
kitty --debug-font-fallbackoutput:The same problem I have with Material Design Icons icons only font.
I read that when fallback kitty use
fontconfigcache. My$HOME/.config/fontconfigdirectory is empty.How to make font rendering uniform between these two cases? And if icons can be rendered bigger or smaller how can I control their size?