kovidgoyal / kitty

Cross-platform, fast, feature-rich, GPU based terminal
https://sw.kovidgoyal.net/kitty/
GNU General Public License v3.0
23.9k stars 966 forks source link

ss06 for the Monaspace font produces an incorrect shape #7891

Closed munzirtaha closed 4 hours ago

munzirtaha commented 4 hours ago

Describe the bug Setting ss06 for the Monaspace font by github produces an incorrect shape.

To Reproduce

> cat .config/kitty/kitty.conf
font_family      Monaspace Radon Var
font_features    MonaspaceRadonVar-Regular +ss06

Screenshots It shows lilke this Screenshot_20240924_184941 The correct shape is: correct

Environment details

kitty 0.36.2 created by Kovid Goyal
Linux lenovo 6.10.10-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 12 Sep 2024 17:21:02 +0000 x86_64
Arch Linux 6.10.10-arch1-1 (/dev/tty)

Running under: Wayland (kwin 6.1.5) missing: single_pixel_buffer
OpenGL: '4.6 (Core Profile) Mesa 24.2.3-arch1.1' Detected version: 4.6
Frozen: False
Fonts:
  medium: MonaspaceRadonVar-Regular: /usr/share/fonts/OTF/MonaspaceRadonVarVF[wght,wdth,slnt].ttf:196608
          Features: ('ss06',)
    bold: MonaspaceRadonVar-Regular: /usr/share/fonts/OTF/MonaspaceRadonVarVF[wght,wdth,slnt].ttf:196608
          Features: ('ss06',)
  italic: MonaspaceRadonVar-Regular: /usr/share/fonts/OTF/MonaspaceRadonVarVF[wght,wdth,slnt].ttf:196608
          Features: ('ss06',)
      bi: MonaspaceRadonVar-Regular: /usr/share/fonts/OTF/MonaspaceRadonVarVF[wght,wdth,slnt].ttf:196608
          Features: ('ss06',)
Paths:
  kitty: /usr/bin/kitty
  base dir: /usr/lib/kitty
  extensions dir: /usr/lib/kitty/kitty
  system shell: /bin/fish
Loaded config files:
  /home/munzir/.config/kitty/kitty.conf

Config options different from defaults:
font_family   Monaspace Radon Var
font_features:
{'MonaspaceRadonVar-Regular': ('ss06',)}

Important environment variables seen by the kitty process:
    PATH                                /home/munzir/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/var/lib/flatpak/exports/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/opt/rocm/bin
    LANG                                en_US.UTF-8
    SHELL                               /bin/fish
    DISPLAY                             :1
    WAYLAND_DISPLAY                     wayland-0
    USER                                munzir
    XDG_DATA_DIRS                       /home/munzir/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share
    XDG_RUNTIME_DIR                     /run/user/1000
    XDG_CONFIG_DIRS                     /home/munzir/.config/kdedefaults:/etc/xdg
    XDG_CURRENT_DESKTOP                 KDE
    XDG_MENU_PREFIX                     plasma-
    XDG_SEAT                            seat0
    XDG_SEAT_PATH                       /org/freedesktop/DisplayManager/Seat0
    XDG_SESSION_CLASS                   user
    XDG_SESSION_DESKTOP                 KDE
    XDG_SESSION_ID                      2
    XDG_SESSION_PATH                    /org/freedesktop/DisplayManager/Session1
    XDG_SESSION_TYPE                    wayland
    XDG_VTNR                            1
kovidgoyal commented 4 hours ago

That is caused by that glyph being wider than it should be, report the issue to the font developers.

munzirtaha commented 3 hours ago

Ok but why other terminals like konsole display it properly?

kovidgoyal commented 3 hours ago

see the kitty FAQ