Skip to content

0.29.1 Font rendering with transparent background has black pixels around edges of characters #6534

Closed
@i-lost-my-bagel

Description

@i-lost-my-bagel

Describe the bug
On kitty 0.29.1 and later with a transparent background my font is having a slight black outline around portions of the characters. I'm using Cascadia Code as my font. With text_composition_strategy not set to legacy the issue isn't nearly as bad but it is still noticeable.

To Reproduce

  1. Set background opacity to less than 100 percent

Screenshots
image
kitty 0.28.1

image
kitty 0.29.2

image
kitty 0.29.2 without text_composition_strategy: legacy. You can see the black pixels around the bottom right of the resolution.

Environment details

kitty 0.29.2 created by Kovid Goyal
Linux lily-legion-5-pro 6.1.39-3-lts #1 SMP PREEMPT_DYNAMIC Wed, 02 Aug 2023 10:12:55 +0000 x86_64
Arch Linux 6.1.39-3-lts (/dev/tty)

DISTRIB_ID="Arch"
DISTRIB_RELEASE="rolling"
DISTRIB_DESCRIPTION="Arch Linux"
Running under: X11
Frozen: False
Paths:
  kitty: /usr/bin/kitty
  base dir: /usr/lib/kitty
  extensions dir: /usr/lib/kitty/kitty
  system shell: /bin/bash
Loaded config files:
  /home/lily/.config/kitty/kitty.conf

Config options different from defaults:
background_opacity        0.65
bell_path                 /home/lily/Music/bell.wav
cursor_shape              2
enable_audio_bell         False
font_family               Cascadia Code
font_size                 10.0
hide_window_decorations   1
text_composition_strategy legacy
window_padding_width      FloatEdges(left=16.0, top=16.0, right=16.0, bottom=16.0)
Colors:
	color1                    #5bcdfa   
	color10                   #4d88b0   
	color11                   #6c9bb5   
	color12                   #c28692   
	color13                   #f598a6   
	color14                   #dedede   
	color2                    #51b9df   
	color3                    #48a4c6   
	color4                    #f5a9b8   
	color5                    #f5a9b8   
	color6                    #f5f5f5   
	color8                    #000000   
	color9                    #55b4ce   

Important environment variables seen by the kitty process:
	PATH                                /usr/local/bin:/usr/bin:/usr/local/sbin:/home/lily/.dotnet/tools:/var/lib/flatpak/exports/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
	LANG                                en_US.UTF-8
	SHELL                               /bin/bash
	DISPLAY                             :0
	USER                                lily
	XDG_SEAT                            seat0
	XDG_SESSION_DESKTOP                 i3
	XDG_SESSION_TYPE                    x11
	XDG_CURRENT_DESKTOP                 i3
	XDG_SESSION_CLASS                   user
	XDG_VTNR                            2
	XDG_SESSION_ID                      3
	XDG_RUNTIME_DIR                     /run/user/1000
	XDG_DATA_DIRS                       /home/lily/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share/:/usr/share/

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions