nixos/pkgs/freetype-triangular-oled/triangular-oled.patch
2024-05-08 20:28:18 -04:00

23 lines
559 B
Diff

diff --git a/src/smooth/ftsmooth.c b/src/smooth/ftsmooth.c
index f0acc1ea4..5f163505a 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[1].x = 0;
- sub[1].y = 0;
- sub[2].x = 21;
- sub[2].y = 0;
+ sub[0].x = -18;
+ sub[0].y = -11;
+ sub[1].x = 2;
+ sub[1].y = 22;
+ sub[2].x = 16;
+ sub[2].y = -11;
render->clazz->raster_class->raster_reset( render->raster, NULL, 0 );