Hi, After setting the scale, we need a render_all.
Abdó.
>From cb4fa03186794cb729a5adea14b853650db7584f Mon Sep 17 00:00:00 2001 From: Abdo Roig-Maranges <abdo.r...@gmail.com> Date: Sat, 26 Oct 2013 19:36:42 +0200 Subject: [PATCH] after a set_scale we need a render_all --- links.c | 1 + 1 file changed, 1 insertion(+) diff --git a/links.c b/links.c index 929e678..fc99bb8 100644 --- a/links.c +++ b/links.c @@ -130,6 +130,7 @@ zathura_link_evaluate(zathura_t* zathura, zathura_link_t* link) if (link->target.destination_type != ZATHURA_LINK_DESTINATION_UNKNOWN) { if (link->target.scale != 0 && link_zoom) { zathura_document_set_scale(zathura->document, link->target.scale); + render_all(zathura); } /* get page */ -- 1.8.4.1
_______________________________________________ zathura mailing list zathura@lists.pwmt.org http://lists.pwmt.org/mailman/listinfo/zathura