[Libreoffice-commits] core.git: config_host/config_skia.h.in

Luboš Luňák (via logerrit) logerrit at kemper.freedesktop.org
Wed Mar 18 13:55:13 UTC 2020


 config_host/config_skia.h.in |    2 --
 1 file changed, 2 deletions(-)

New commits:
commit 2b00d3deb2d637916c142ef03a5e31ac5189f314
Author:     Luboš Luňák <l.lunak at collabora.com>
AuthorDate: Tue Mar 17 16:09:08 2020 +0100
Commit:     Luboš Luňák <l.lunak at collabora.com>
CommitDate: Wed Mar 18 14:54:46 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.
    
    Change-Id: I4ae7a15f97c5ecb181b8c35b417496f8c631ace4
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90695
    Tested-by: Jenkins
    Reviewed-by: Luboš Luňák <l.lunak at collabora.com>

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


More information about the Libreoffice-commits mailing list