Bug 432940 - Light font on dark background is rendered too thick
Summary: Light font on dark background is rendered too thick
Status: REPORTED
Alias: None
Product: konsole
Classification: Applications
Component: font (show other bugs)
Version: 20.12.2
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-14 15:12 UTC by Pedro Cunha
Modified: 2023-10-26 17:53 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Konsole on the left, mockup on the right (206.96 KB, image/png)
2021-02-14 15:12 UTC, Pedro Cunha
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pedro Cunha 2021-02-14 15:12:27 UTC
Created attachment 135684 [details]
Konsole on the left, mockup on the right

SUMMARY
Some fonts (Source Code Pro, Fira Mono) are rendered too thick when using light on dark color themes. This does not happen with every font (currently, I have only experienced it with these two).
Other terminal emulators don't have the same problem (GNOME terminal, xterm, rxvt tested).

STEPS TO REPRODUCE
1. Set font to Source Code Pro, regular weight
2. Set color theme to White on Black
3. Compare font thickness to the one using color theme Black on White.

OBSERVED RESULT
Konsole's font is rendered a little bit thicker than  it is if one uses a Dark on light color theme.

EXPECTED RESULT
Font thickness should not depend on the color theme selected.
Using the screenshot I attached, I would expect rendering to be more like the bottom-left and bottom-right examples.

SOFTWARE/OS VERSIONS
I have experienced this bug since Kubuntu 18.04 LTS, but for the purposes of this bug-report I installed openSUSE Tumbleweed on a VM.

OS: openSUSE Tumbleweed 20210210
Qt version: 5.15.2
KDE Plasma: 5.20.5
KDE Frameworks version: 5.78.0

ADDITIONAL INFORMATION
I have provided a simples screenshot. On the left I have two real Konsole windows, the top one with a White on Black theme, the bottom one with a Black on White theme.
On the right I have copied the left two windows and inverted their colors with an image editor, so as to simulate the font rendering from the left with inverted color themes.