Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TerminessTTF italic font broken #4718

Closed
ForteDexe opened this issue Feb 18, 2022 · 3 comments
Closed

TerminessTTF italic font broken #4718

ForteDexe opened this issue Feb 18, 2022 · 3 comments
Labels

Comments

@ForteDexe
Copy link

Describe the bug
I did try several version of this font, the problem still exists.
I did try the font 'source code pro', it is working fine.

Screenshots

image

Environment details

kitty 0.24.2 created by Kovid Goyal
Linux ForteD-PCLi 5.16.7-1-MANJARO #1 SMP PREEMPT Sun Feb 6 12:22:29 UTC 2022 x86_64
Manjaro Linux 5.16.7-1-MANJARO  (ForteD-PCLi) (/dev/tty)


DISTRIB_ID=ManjaroLinux
DISTRIB_RELEASE=21.2.3
DISTRIB_CODENAME=Qonos
DISTRIB_DESCRIPTION="Manjaro Linux"
Running under: X11
Frozen: False
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/forted/.config/kitty/kitty.conf

Config options different from defaults:
cursor_blink_interval      0.6
cursor_shape               3
cursor_stop_blinking_after 0
dynamic_background_opacity True
focus_follows_mouse        True
font_family                TerminessTTF Nerd Font Mono
font_size                  13.0
window_border_width        (1.0, 'pt')
window_padding_width       FloatEdges(left=1.0, top=1.0, right=1.0, bottom=1.0)
Added shortcuts:
	ctrl+c → copy_to_clipboard
	ctrl+v → paste_from_clipboard
Changed shortcuts:
	ctrl+shift+, → set_background_opacity -0.07
	ctrl+shift+. → set_background_opacity +0.07
Colors:
	active_border_color        #4c566a   
	background                 #242a36   
	color0                     #4c566a   
	color1                     #bf616a   
	color10                    #a3be8c   
	color11                    #d7ba7d   
	color12                    #5e81ac   
	color13                    #b48ead   
	color14                    #88c0d0   
	color15                    #b5c0dc   
	color2                     #a3be8c   
	color3                     #c68a75   
	color4                     #5e81ac   
	color5                     #b48ead   
	color6                     #88c0d0   
	color7                     #b5c0dc   
	color8                     #4c566a   
	color9                     #bf616a   
	inactive_border_color      #3b4252   

Environment variable names seen by the kitty process:
	CUDA_PATH
	DBUS_SESSION_BUS_ADDRESS
	DESKTOP_SESSION
	DISPLAY
	GTK2_RC_FILES
	GTK3_MODULES
	GTK_MODULES
	GTK_RC_FILES
	HOME
	KDE_APPLICATIONS_AS_SCOPE
	KDE_FULL_SESSION
	KDE_SESSION_UID
	KDE_SESSION_VERSION
	LANG
	LC_ADDRESS
	LC_IDENTIFICATION
	LC_MEASUREMENT
	LC_MONETARY
	LC_NAME
	LC_NUMERIC
	LC_PAPER
	LC_TELEPHONE
	LC_TIME
	LOGNAME
	MAIL
	MOTD_SHOWN
	OLDPWD
	PAM_KWALLET5_LOGIN
	PATH
	PWD
	QT_AUTO_SCREEN_SCALE_FACTOR
	QT_LINUX_ACCESSIBILITY_ALWAYS_ON
	QT_SCREEN_SCALE_FACTORS
	SESSION_MANAGER
	SHELL
	SHLVL
	SYSTEMD_EXEC_PID
	USER
	XAUTHORITY
	XCURSOR_SIZE
	XCURSOR_THEME
	XDG_CONFIG_DIRS
	XDG_CURRENT_DESKTOP
	XDG_DATA_DIRS
	XDG_RUNTIME_DIR
	XDG_SEAT
	XDG_SEAT_PATH
	XDG_SESSION_CLASS
	XDG_SESSION_DESKTOP
	XDG_SESSION_ID
	XDG_SESSION_PATH
	XDG_SESSION_TYPE
	XDG_VTNR
	_

Additional context
Try to reproduce the problem with kitty --config NONE:
I did, the problem still exist

@ForteDexe ForteDexe added the bug label Feb 18, 2022
@kovidgoyal
Copy link
Owner

that fonts metrics are not compatible with your base font. So either
pick a different italic font or a different base font or increase the
cell width by using adjust_cell_width in kitty.conf

@ForteDexe
Copy link
Author

image

image

I try to adjust those option, most of the problem is fix, only 'p' character lose it leg. As you see konsole from kde is working fine, this should consider as a bug right ?

@kovidgoyal
Copy link
Owner

No, it is not a bug. Use adjust_line_height for that. kitty requires fonts that render well in a fixed
width cell. It does not work with fonts that are not metric compatible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants