aboutsummaryrefslogtreecommitdiff
path: root/fiv-view.c
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2023-07-09 09:46:31 +0200
committerPřemysl Eric Janouch <p@janouch.name>2023-07-09 10:40:32 +0200
commit840e7f172ce3b805dc5c3e4889e1166159942dc3 (patch)
tree8f99f8ae164b8039621d287ac7de7726ab9dd141 /fiv-view.c
parent9b99de99bbe2d87ee62bb72931a22f2551fa470e (diff)
downloadfiv-840e7f172ce3b805dc5c3e4889e1166159942dc3.tar.gz
fiv-840e7f172ce3b805dc5c3e4889e1166159942dc3.tar.xz
fiv-840e7f172ce3b805dc5c3e4889e1166159942dc3.zip
Colour-manage SVGs
Diffstat (limited to 'fiv-view.c')
-rw-r--r--fiv-view.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fiv-view.c b/fiv-view.c
index bce7a4b..0b15e5e 100644
--- a/fiv-view.c
+++ b/fiv-view.c
@@ -409,7 +409,8 @@ prescale_page(FivView *self)
// If it fails, the previous frame pointer may become invalid.
g_clear_pointer(&self->page_scaled, fiv_io_image_unref);
- self->frame = self->page_scaled = closure->render(closure, self->scale);
+ self->frame = self->page_scaled = closure->render(closure,
+ self->enable_cms ? self->screen_cms_profile : NULL, self->scale);
if (!self->page_scaled)
self->frame = self->page;
}