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

Some CJK fonts display weird #6931

Closed
eyebrowkang opened this issue Dec 20, 2023 · 1 comment
Closed

Some CJK fonts display weird #6931

eyebrowkang opened this issue Dec 20, 2023 · 1 comment
Labels

Comments

@eyebrowkang
Copy link

Describe the bug
A clear and concise description of what the bug is.
some CJK fonts, e.g. "关", display weird, it's squashed.

To Reproduce
Steps to reproduce the behavior:

  1. open kitty
  2. type or copy '关于'
  3. See error

Screenshots
If applicable, add screenshots to help explain your problem.

First one is in kitty, second one is in alacritty with the same font settings.
image
image

Environment details

Press Ctrl+Shift+F6 (cmd+option+comma on macOS) in kitty, to copy debug output about kitty and its
configuration to the clipboard and paste it here. 

On older versions of kitty, run kitty --debug-config instead
kitty 0.31.0 (b247fda672) created by Kovid Goyal
Darwin ew-MBP-M1.local 22.6.0 Darwin Kernel Version 22.6.0: Tue Nov  7 21:42:27 PST 2023; root:xnu-8796.141.3.702.9~2/RELEASE_ARM64_T8103 arm64
ProductName:		macOS ProductVersion:		13.6.3 BuildVersion:		22G436
Frozen: True
Paths:
  kitty: /Applications/kitty.app/Contents/MacOS/kitty
  base dir: /Applications/kitty.app/Contents/Resources/kitty
  extensions dir: /Applications/kitty.app/Contents/Resources/Python/lib/kitty-extensions
  system shell: /bin/zsh
Loaded config files:
  /Users/ek/.config/kitty/kitty.conf

Config options different from defaults:
allow_remote_control          yes
background_opacity            0.92
copy_on_select                clipboard
dynamic_background_opacity    True
enabled_layouts               ['tall', 'fat', 'splits', 'stack']
font_family                   Liga SFMono Nerd Font
font_size                     16.0
hide_window_decorations       1
listen_on                     unix:/tmp/mykitty
scrollback_lines              10000
scrollback_pager_history_size 104857600
url_style                     1
Added shortcuts:
	f1 →  move_window_to_top
	f2 →  set_tab_title
	opt+0 →  goto_tab 10
	opt+1 →  goto_tab 1
	opt+2 →  goto_tab 2
	opt+3 →  goto_tab 3
	opt+4 →  goto_tab 4
	opt+5 →  goto_tab 5
	opt+6 →  goto_tab 6
	opt+7 →  goto_tab 7
	opt+8 →  goto_tab 8
	opt+9 →  goto_tab 9
Changed shortcuts:
	kitty_mod+down →  resize_window shorter
	kitty_mod+home →  resize_window reset
	kitty_mod+left →  resize_window narrower
	kitty_mod+right →  resize_window wider
	kitty_mod+up →  resize_window taller
Colors:
	active_border_color           #7aa2f7   
	active_tab_background         #7aa2f7   
	active_tab_foreground         #1f2335   
	background                    #24283b   
	color0                        #1d202f   
	color1                        #f7768e   
	color10                       #9ece6a   
	color11                       #e0af68   
	color12                       #7aa2f7   
	color13                       #bb9af7   
	color14                       #7dcfff   
	color15                       #c0caf5   
	color16                       #ff9e64   
	color17                       #db4b4b   
	color2                        #9ece6a   
	color3                        #e0af68   
	color4                        #7aa2f7   
	color5                        #bb9af7   
	color6                        #7dcfff   
	color7                        #a9b1d6   
	color8                        #414868   
	color9                        #f7768e   
	cursor                        #c0caf5   
	cursor_text_color             #24283b   
	foreground                    #c0caf5   
	inactive_border_color         #292e42   
	inactive_tab_background       #292e42   
	inactive_tab_foreground       #545c7e   
	selection_background          #2e3c64   
	selection_foreground          #c0caf5   
	url_color                     #73daca   

Important environment variables seen by the kitty process:
	PATH                                /Applications/kitty.app/Contents/MacOS:/usr/bin:/bin:/usr/sbin:/sbin
	LANG                                en_US.UTF-8
	SHELL                               /bin/zsh
	USER                                ek

Additional context
Try to reproduce the problem with kitty --config NONE if you cannot then post a minimal kitty.conf that reproduces the problem. If the problem involves interaction with some other terminal program post a minimal config for that program to reproduce the problem as well.

@eyebrowkang
Copy link
Author

Sorry, I closed kitty, then ran fc-cache, then opened kitty again and the problem disappeared, it should have been me.

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

1 participant