summaryrefslogtreecommitdiffstats
path: root/skia-gamma.patch
diff options
context:
space:
mode:
Diffstat (limited to 'skia-gamma.patch')
-rw-r--r--skia-gamma.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/skia-gamma.patch b/skia-gamma.patch
new file mode 100644
index 0000000..94f4343
--- /dev/null
+++ b/skia-gamma.patch
@@ -0,0 +1,13 @@
+diff --git a/skia/BUILD.gn b/skia/BUILD.gn
+index b2c8b79..7e2ee53 100644
+--- a/skia/BUILD.gn
++++ b/skia/BUILD.gn
+@@ -139,7 +139,7 @@ config("skia_library_config") {
+ # Settings for text blitting, chosen to approximate the system browser.
+ if (is_linux || is_chromeos) {
+ defines += [
+- "SK_GAMMA_EXPONENT=1.2",
++ "SK_GAMMA_EXPONENT=2.2",
+ "SK_GAMMA_CONTRAST=0.2",
+ ]
+ } else if (is_android) {