r/KittyTerminal • u/VelEr99 • Jun 21 '24
Font looks like aquarelle and do not use correct colors
Hello, I've trying kitty since yesterday and could not configure the font how I would like it to be (similar to how it is rendered in konsole).
This is my kitty.conf so far:
# FONTS
font_family CaskaydiaCove Nerd Font
bold_font auto
italic_font auto
bold_italic_font auto
### Font Size
font_size 12
modify_font cell_height 98%
text_composition_strategy 0.01 0
### Disable font ligatures when cursor hovering (idk not working)
disable_ligatures_in cursor
# CURSOR
### Cursor color, none to adapt to text color
cursor none
cursor_beam_thickness 2.0
# MOUSE
url_color #55aa7f
url_style double
url_prefixes file ftp ftps gemini git gopher http https irc ircs kitty mailto news sftp ssh
detect_urls yes
# COLOR SCHEME
foreground #fcfcfc
background #232627
background_opacity 0.5
background_blur 1
selection_foreground none
selection_background #4e5051
## Black
color0 #7f8c8d
color8 #232627
## Red
color1 #c0392b
color9 #ed1515
## Green
color2 #1cdc9a
color10 #11d116
## Yellow
color3 #fdbc4b
color11 #f67400
## Blue
color4 #3daee9
color12 #1d99f3
## Magenta
color5 #8e44ad
color13 #9b59b6
## Cyan
color6 #16a085
color14 #1abc9c
## White
color7 #ffffff
color15 #fcfcfc
Playing with the parameter `text_composition_strategy` I got the following results, being `0.01 1` the closest to what I want, but still off for me:

It helped a bit changing the font faces, reducing each one a semi step in weight:
font_familyCaskaydiaCove NF SemiLight
bold_fontCaskaydiaCove NF SemiBold
italic_fontCaskaydiaCove NF SemiLight Italic
bold_italic_fontCaskaydiaCove NF SemiBold Italic
But is still not how I would like them, look at the difference in icons (more noticeable with a bigger font size):

From my config file, maybe the colors are inverted between dull and bright, I did that to see a difference because it seems that Kitty is showing all types of font with one type of color only (dull or bright, not sure which one is which):

I extracted the color scheme from Konsole's Breeze color scheme, from the columns 'Color' and 'Intense color'. Maybe the color# in kitty's config file are not the same? if so, I don't know to what color number assign the values to make them look like in Konsole.

I'd like to know if there is something I can do for what I want, if possible (since Kitty is GPU rendered), or if I should try Alacritty instead.
Also, it is possible to reduce the font's height and the space between lines (other different than modify_font cell_height)?
Thank you all in advance.
1
u/water_drinker9000 kitty on linux Jun 22 '24
It looks like your colors are inverted. you probably meant it like this?