mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-08 11:55:24 +00:00
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).
This commit is contained in:
parent
065c2163dd
commit
cd45a3b8d6
@ -1 +1 @@
|
||||
ad2594a1438fe23d29267afedc124356648e4882
|
||||
83343537ec66dadb4a0b6063d3e69eae31990064
|
||||
|
@ -10,6 +10,8 @@ DIRS := include/mupdf
|
||||
DIR_CONTENT(include/mupdf) := $(addprefix src/lib/mupdf/,\
|
||||
pdf/mupdf.h xps/muxps.h fitz/fitz.h)
|
||||
|
||||
PATCHES := $(sort $(wildcard $(REP_DIR)/src/lib/mupdf/*.patch))
|
||||
|
||||
default: fix_include
|
||||
|
||||
fix_include: $(DOWNLOADS)
|
||||
|
9
repos/libports/src/lib/mupdf/gamma.patch
Normal file
9
repos/libports/src/lib/mupdf/gamma.patch
Normal file
@ -0,0 +1,9 @@
|
||||
+++ 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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user