summaryrefslogtreecommitdiff
path: root/config_host/config_skia.h.in
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@collabora.com>2020-03-17 16:09:08 +0100
committerLuboš Luňák <l.lunak@collabora.com>2020-03-18 14:54:46 +0100
commit2b00d3deb2d637916c142ef03a5e31ac5189f314 (patch)
tree8955db200d1b652b2883c55b98cf84fe637a447c /config_host/config_skia.h.in
parent4020c402526c472b71729085eeed094449fe00ed (diff)
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. Change-Id: I4ae7a15f97c5ecb181b8c35b417496f8c631ace4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90695 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'config_host/config_skia.h.in')
-rw-r--r--config_host/config_skia.h.in2
1 files changed, 0 insertions, 2 deletions
diff --git a/config_host/config_skia.h.in b/config_host/config_skia.h.in
index 328c43f56bf1..0c843c128756 100644
--- a/config_host/config_skia.h.in
+++ b/config_host/config_skia.h.in
@@ -36,8 +36,6 @@ are the same.
#define SK_CODEC_DECODES_PNG 1
#define SK_ENCODE_PNG 1
-#define SK_GAMMA_APPLY_TO_A8
-
#define SK_ASSUME_GL 1
#define SK_ASSUME_GL_ES 0