Skip to content

Issues rendering double width icons #3729

@HumblePresent

Description

@HumblePresent

Describe the bug
As seen in the screenshot below I am experiencing sporadic rendering issues with double width icons. Sometimes certain icons render fine and others do not, but the next time I open kitty it might be the opposite in terms of which icons have issues but it only appears to affect icons that can be single or double width like those from patched Nerd Fonts.

To Reproduce
Steps to reproduce the behavior:

  1. Using JetBrainsMono Nerd Font from here
  2. Latest git master version of kitty installed via the AUR
  3. See error

Screenshots

kitty_rendering

Environment details

kitty 0.21.1 (63a36a1054) created by Kovid Goyal
Linux dagobah 5.12.9-arch1-1 #1 SMP PREEMPT Thu, 03 Jun 2021 11:36:13 +0000 x86_64
Arch Linux \r (\l)
Running under:X11
Loaded config files:
  /home/riley/.config/kitty/kitty.conf

Config options different from defaults:
active_border_color     Color(red=168, green=153, blue=132)
active_tab_background   Color(red=168, green=153, blue=132)
active_tab_foreground   Color(red=40, green=40, blue=40)
background              Color(red=40, green=40, blue=40)
cursor                  Color(red=235, green=219, blue=178)
cursor_text_color       None
enable_audio_bell       False
enabled_layouts         ['splits', 'stack']
font_family             JetBrainsMono Nerd Font
foreground              Color(red=235, green=219, blue=178)
inactive_border_color   Color(red=60, green=56, blue=54)
inactive_tab_background Color(red=60, green=56, blue=54)
inactive_tab_foreground Color(red=124, green=111, blue=100)
symbol_map:
	U+2800 - U+28ff → Braille
tab_bar_style           powerline
tab_separator           
tab_title_template      {index}: {title}
update_check_interval   24.0
url_prefixes            ('http', 'https', 'file', 'ftp')
window_border_width     (2.0, 'px')
window_padding_width    FloatEdges(left=3.0, top=3.0, right=3.0, bottom=3.0)
Added shortcuts:
	alt+l KeyAction('next_layout')
	shift+ctrl+; KeyAction('launch', ('--location=hsplit',))
	shift+ctrl+\ KeyAction('launch', ('--location=vsplit',))
Changed shortcuts:
	shift+ctrl+0 KeyAction('next_tab')
	shift+ctrl+9 KeyAction('previous_tab')
	shift+ctrl+h KeyAction('neighboring_window', ('left',))
	shift+ctrl+j KeyAction('neighboring_window', ('bottom',))
	shift+ctrl+k KeyAction('neighboring_window', ('top',))
	shift+ctrl+l KeyAction('neighboring_window', ('right',))
	shift+ctrl+up KeyAction('move_window', ('top',))
	shift+ctrl+down KeyAction('move_window', ('bottom',))

Additional context
I am able to reproduce this issue with the default config but font set to JetBrainsMono Nerd Font.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions