summarylogtreecommitdiffstats
path: root/cairo-make-lcdfilter-default.patch
diff options
context:
space:
mode:
authorPhilip Deljanov2019-03-25 16:19:55 -0400
committerPhilip Deljanov2019-03-25 16:19:55 -0400
commitd9f61b5a0fd0ef94c04c45fabdfec0f53789c9c0 (patch)
tree236bdaf00278f3cf9f3c9f1fcc393aa88f7ce72d /cairo-make-lcdfilter-default.patch
downloadaur-d9f61b5a0fd0ef94c04c45fabdfec0f53789c9c0.tar.gz
Add cairo-infinality-remix to AUR.
Diffstat (limited to 'cairo-make-lcdfilter-default.patch')
-rw-r--r--cairo-make-lcdfilter-default.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/cairo-make-lcdfilter-default.patch b/cairo-make-lcdfilter-default.patch
new file mode 100644
index 00000000000..279f40a1b2e
--- /dev/null
+++ b/cairo-make-lcdfilter-default.patch
@@ -0,0 +1,28 @@
+diff --git a/src/cairo-ft-font.c b/src/cairo-ft-font.c
+index 3e485c5..36703d1 100644
+--- a/src/cairo-ft-font.c
++++ b/src/cairo-ft-font.c
+@@ -1336,7 +1336,7 @@ _render_glyph_outline (FT_Face face,
+ cairo_image_surface_t **surface)
+ {
+ int rgba = FC_RGBA_UNKNOWN;
+- int lcd_filter = FT_LCD_FILTER_LEGACY;
++ int lcd_filter = FT_LCD_FILTER_DEFAULT;
+ FT_GlyphSlot glyphslot = face->glyph;
+ FT_Outline *outline = &glyphslot->outline;
+ FT_Bitmap bitmap;
+@@ -1371,13 +1371,13 @@ _render_glyph_outline (FT_Face face,
+ case CAIRO_LCD_FILTER_NONE:
+ lcd_filter = FT_LCD_FILTER_NONE;
+ break;
+- case CAIRO_LCD_FILTER_DEFAULT:
+ case CAIRO_LCD_FILTER_INTRA_PIXEL:
+ lcd_filter = FT_LCD_FILTER_LEGACY;
+ break;
+ case CAIRO_LCD_FILTER_FIR3:
+ lcd_filter = FT_LCD_FILTER_LIGHT;
+ break;
++ case CAIRO_LCD_FILTER_DEFAULT:
+ case CAIRO_LCD_FILTER_FIR5:
+ lcd_filter = FT_LCD_FILTER_DEFAULT;
+ break;