genode/repos/libports/src/lib/mupdf/gamma.patch
Norman Feske cd45a3b8d6 libports: set mupdf gamma value to 1.5
This makes the look of tikz illustrations consistent with the look when
viewing them in evince (as I do while creating them).
2018-02-14 20:41:04 +01:00

10 lines
283 B
Diff

+++ src/lib/mupdf/apps/pdfapp.c
@@ -397,6 +397,7 @@
fz_clear_pixmap_with_color(app->image, 255);
idev = fz_new_draw_device(app->cache, app->image);
fz_execute_display_list(app->page_list, idev, ctm, bbox);
+ fz_gamma_pixmap(app->image, 1.5);
fz_free_device(idev);
}