Skip to content

Box drawing rounded corners with extra line-height produces stretched radius #3409

Closed
@jesseleite

Description

@jesseleite

Describe the bug

I notice box drawing of rounded corners doesn't produce a proper corner radius when Kitty is configured with a larger line-height. The corners look stretched...

Expected behavior

I would expect the rounded corner radius to render properly in the center of a character cell, across any line-height setting.

Screenshots

image

Environment details
OS: MacOS Big Sur 11.2.1

kitty 0.19.3 created by Kovid Goyal
Darwin Jesses-MacBook-Pro.local 20.3.0 Darwin Kernel Version 20.3.0: Thu Jan 21 00:06:51 PST 2021; root:xnu-7195.81.3~1/RELEASE_ARM64_T8101 x86_64
ProductName:	macOS ProductVersion:	11.2.1 BuildVersion:	20D74
Loaded config files: /Users/jesseleite/.config/kitty/kitty.conf

Config options different from defaults:
active_border_color        Color(red=255, green=255, blue=255)
adjust_line_height         2.0
bold_font                  Menlo
bold_italic_font           Menlo
color0                     Color(red=33, green=33, blue=33)
color1                     Color(red=255, green=63, blue=97)
color10                    Color(red=134, green=232, blue=106)
color11                    Color(red=255, green=227, blue=95)
color12                    Color(red=62, green=180, blue=232)
color13                    Color(red=255, green=123, blue=52)
color14                    Color(red=62, green=180, blue=232)
color2                     Color(red=134, green=232, blue=106)
color3                     Color(red=255, green=227, blue=95)
color4                     Color(red=62, green=180, blue=232)
color5                     Color(red=255, green=123, blue=52)
color6                     Color(red=62, green=180, blue=232)
color7                     Color(red=255, green=255, blue=255)
color8                     Color(red=66, green=66, blue=66)
color9                     Color(red=255, green=63, blue=97)
cursor                     Color(red=255, green=255, blue=255)
cursor_blink_interval      0.0
font_family                Menlo
font_size                  16.0
foreground                 Color(red=255, green=255, blue=255)
hide_window_decorations    2
italic_font                Menlo
macos_option_as_alt        3
macos_show_window_title_in none
macos_thicken_font         0.65
mouse_hide_wait            1.0
selection_background       Color(red=33, green=33, blue=33)
selection_foreground       Color(red=255, green=255, blue=255)
window_padding_width       FloatEdges(left=18.0, top=20.0, right=18.0, bottom=20.0)
Added shortcuts:
	 super+equal KeyAction(func='change_font_size', args=(True, '+', 1.0))
Changed shortcuts:
	 super+minus KeyAction(func='change_font_size', args=(True, '-', 1.0))

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions