summarylogtreecommitdiffstats
path: root/0004-QD-OLED-subpixel.patch
diff options
context:
space:
mode:
Diffstat (limited to '0004-QD-OLED-subpixel.patch')
-rw-r--r--0004-QD-OLED-subpixel.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/0004-QD-OLED-subpixel.patch b/0004-QD-OLED-subpixel.patch
new file mode 100644
index 000000000000..1077c0661d4f
--- /dev/null
+++ b/0004-QD-OLED-subpixel.patch
@@ -0,0 +1,22 @@
+diff --git a/src/smooth/ftsmooth.c b/src/smooth/ftsmooth.c
+index 9b0e8886c..e21c85739 100644
+--- a/src/smooth/ftsmooth.c
++++ b/src/smooth/ftsmooth.c
+@@ -95,12 +95,12 @@
+
+
+ /* set up default subpixel geometry for striped RGB panels. */
+- sub[0].x = -21;
+- sub[0].y = 0;
++ sub[0].x = -16;
++ sub[0].y = -11;
+ sub[1].x = 0;
+- sub[1].y = 0;
+- sub[2].x = 21;
+- sub[2].y = 0;
++ sub[1].y = 22;
++ sub[2].x = 16;
++ sub[2].y = -11;
+
+ render->clazz->raster_class->raster_reset( render->raster, NULL, 0 );
+