Closed lokesh-krishna closed 3 weeks ago
Describe the bug Used kitten choose-fonts to pick Elma Mono as my font family. The pick font screen
kitten choose-fonts
To Reproduce
Screenshots The font selection screen renders the italic p as it is supposed to be:
This is how the italic p is rendered.
Environment details
kitty 0.36.1 created by Kovid Goyal Linux raphael 6.10.6-arch1-1 #1 SMP PREEMPT_DYNAMIC Mon, 19 Aug 2024 17:02:39 +0000 x86_64 Arch Linux 6.10.6-arch1-1 (/dev/tty) Running under: Wayland (swayfx version 0.4-c561e38 (Aug 20 2024, branch 'master') (based on sway 1.9.0)) missing: blur OpenGL: '4.6 (Core Profile) Mesa 24.1.6-arch1.1' Detected version: 4.6 Frozen: False Fonts: medium: ElmaMono-Regular: /home/loki/.local/share/fonts/elma/ElmaMono-Regular.ttf:0 bold: ElmaMono-Bold: /home/loki/.local/share/fonts/elma/ElmaMono-Bold.ttf:0 italic: ElmaMono-RegularItalic: /home/loki/.local/share/fonts/elma/ElmaMono-Italic.ttf:0 bi: ElmaMono-BoldItalic: /home/loki/.local/share/fonts/elma/ElmaMono-BoldItalic.ttf:0 Paths: kitty: /usr/bin/kitty base dir: /usr/lib/kitty extensions dir: /usr/lib/kitty/kitty system shell: /usr/bin/zsh Loaded config files: /home/loki/.config/kitty/kitty.conf Config options different from defaults: active_tab_font_style (False, True) active_tab_title_template {fmt.bg._1e1e2e}{fmt.fg._89b4fa}{fmt.bg._89b4fa}{fmt.fg._11111b} {index} {fmt.bg._1e1e2e}{fmt.fg._89b4fa} allow_remote_control yes bell_on_tab confirm_os_window_close 0 enable_audio_bell False font_family family='Elma Mono' features=+onum font_size 13.0 linux_display_server wayland listen_on unix:@mykitty mouse_hide_wait -1.0 narrow_symbols: {(9211, 9214): 1, (9829, 9829): 1, (9889, 9889): 1, (11096, 11096): 1, (57344, 57354): 1, (57504, 57506): 1, (57507, 57507): 1, (57520, 57523): 1, (57524, 57544): 1, (57546, 57546): 1, (57548, 57559): 1, (57856, 58025): 1, (58112, 58339): 1, (58874, 59061): 1, (59136, 59333): 1, (60000, 60446): 1, (60672, 62207): 1, (62208, 62325): 1, (62464, 62771): 1, (983041, 989936): 1} notify_on_cmd_finish NotifyOnCmdFinish(when='unfocused', duration=30.0, action='notify', cmdline=()) repaint_delay 7 symbol_map: U+23fb - U+23fe → Symbols Nerd Font Mono U+2665 - U+2665 → Symbols Nerd Font Mono U+26a1 - U+26a1 → Symbols Nerd Font Mono U+2b58 - U+2b58 → Symbols Nerd Font Mono U+e000 - U+e00a → Symbols Nerd Font Mono U+e0a0 - U+e0a2 → Symbols Nerd Font Mono U+e0a3 - U+e0a3 → Symbols Nerd Font Mono U+e0b0 - U+e0b3 → Symbols Nerd Font Mono U+e0b4 - U+e0c8 → Symbols Nerd Font Mono U+e0ca - U+e0ca → Symbols Nerd Font Mono U+e0cc - U+e0d7 → Symbols Nerd Font Mono U+e200 - U+e2a9 → Symbols Nerd Font Mono U+e300 - U+e3e3 → Symbols Nerd Font Mono U+e5fa - U+e6b5 → Symbols Nerd Font Mono U+e700 - U+e7c5 → Symbols Nerd Font Mono U+ea60 - U+ec1e → Symbols Nerd Font Mono U+ed00 - U+f2ff → Symbols Nerd Font Mono U+f300 - U+f375 → Symbols Nerd Font Mono U+f400 - U+f533 → Symbols Nerd Font Mono U+f0001 - U+f1af0 → Symbols Nerd Font Mono tab_bar_edge 1 tab_bar_margin_height TabBarMarginHeight(outer=15.0, inner=0) tab_bar_margin_width 10.0 tab_fade (0,) tab_title_template {fmt.bg._1e1e2e}{fmt.fg._313244}{fmt.bg._313244}{fmt.fg._cdd6f4} {index} {fmt.bg._1e1e2e}{fmt.fg._313244} undercurl_style thin-dense window_border_width (2.0, 'px') window_padding_width FloatEdges(left=10.0, top=10.0, right=10.0, bottom=10.0) Colors: active_border_color #b4befe background #1e1e2e bell_border_color #f9e2af color0 #45475a color1 #f38ba8 color10 #a6e3a1 color11 #f9e2af color12 #89b4fa color13 #f5c2e7 color14 #94e2d5 color15 #a6adc8 color2 #a6e3a1 color3 #f9e2af color4 #89b4fa color5 #f5c2e7 color6 #94e2d5 color7 #bac2de color8 #585b70 color9 #f38ba8 cursor #f5e0dc cursor_text_color #1e1e2e foreground #cdd6f4 inactive_border_color #6c7086 macos_titlebar_color #1e1e2e mark1_background #b4befe mark1_foreground #1e1e2e mark2_background #cba6f7 mark2_foreground #1e1e2e mark3_background #74c7ec mark3_foreground #1e1e2e selection_background #f5e0dc selection_foreground #1e1e2e tab_bar_background #1e1e2e url_color #f5e0dc wayland_titlebar_color #1e1e2e Important environment variables seen by the kitty process: PATH /usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl LANG en_IN.UTF-8 VISUAL nvim EDITOR nvim SHELL /usr/bin/zsh GLFW_IM_MODULE ibus DISPLAY :0 WAYLAND_DISPLAY wayland-1 USER loki XCURSOR_SIZE 24 XDG_DATA_HOME /home/loki/.local/share XDG_CONFIG_HOME /home/loki/.config XDG_SEAT seat0 XDG_SESSION_TYPE wayland XDG_DOWNLOAD_DIR /home/loki/downloads XDG_CACHE_HOME /home/loki/.cache XDG_SESSION_CLASS user XDG_VTNR 1 XDG_SESSION_ID 1 XDG_STATE_HOME /home/loki/.local/state XDG_RUNTIME_DIR /run/user/1000
That will be ebcause the italic face has incompatible metrics with the regular face. Either pick a font that has compatible metrics or use adjust_font in kitty.conf to widen the cell size.
Describe the bug Used
kitten choose-fonts
to pick Elma Mono as my font family. The pick font screenTo Reproduce
Screenshots The font selection screen renders the italic p as it is supposed to be:
This is how the italic p is rendered.
Environment details