Skip to content

Instantly share code, notes, and snippets.

View nizhib's full-sized avatar

Evgeny Nizhibitsky nizhib

  • London, United Kingdom
  • 13:13 (UTC +01:00)
View GitHub Profile
@vonavi
vonavi / evince-subpixel-rendering.patch
Created August 16, 2013 17:25
Force subpixel rendering for Evince 2.32.0.
--- backend/pdf/ev-poppler.cc 2010-09-27 19:54:34.000000000 +0300
+++ backend/pdf/ev-poppler-patched.cc 2013-08-16 20:08:43.000000000 +0300
@@ -342,6 +342,23 @@
return label;
}
+/* For some reason, cairo doesn't put this in the public header. */
+typedef enum _cairo_lcd_filter {
+ CAIRO_LCD_FILTER_DEFAULT,
+ CAIRO_LCD_FILTER_NONE,