diff options
author | Jonathan Clark <jonathan@libreoffice.org> | 2025-07-03 11:43:02 -0600 |
---|---|---|
committer | Jonathan Clark <jonathan@libreoffice.org> | 2025-07-03 21:12:30 +0200 |
commit | 6e7860f021b27193b44f803b1e39f3508559bb47 (patch) | |
tree | ef8017d2b729c276f97d8608cb8bfc1070686e13 /connectivity/source/inc/java/sql/Connection.hxx | |
parent | 7bff9c2e3d341117f67090681d12d090b94e8688 (diff) |
tdf#166339 vcl: Use gamma-corrected font rendering in SkiaHEADmaster
Reverts the following commit:
commit 2b00d3deb2d637916c142ef03a5e31ac5189f314
Date: Tue Mar 17 16:09:08 2020 +0100
do not use Skia's gamma correction for text
Using SK_GAMMA_APPLY_TO_A8 seems to be Skia's build default, but
it makes fonts harder to see (gray instead of black). With this change,
Skia now looks to be pixel-perfect when compared with the gen VCL
backend.
This commit disabled gamma correction for text rendered by Skia under
X11. Disabling gamma-correct rendering causes nasty artifacts, like
fringing or text appearing as the wrong weight.
The main consequence of this change is that GUI text may appear lighter
than it does under backends that don't handle gamma correctly. Skia
provides some parameters we can tune if needed, but it would be better
to fix those backends instead.
Change-Id: I6a4d90e33a57cbb397bcc9539a3c307a370c8b1d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/187348
Reviewed-by: Jonathan Clark <jonathan@libreoffice.org>
Tested-by: Jenkins
Diffstat (limited to 'connectivity/source/inc/java/sql/Connection.hxx')
0 files changed, 0 insertions, 0 deletions