From 5d7f33290932a9f4a191f44331872164ba559e18 Mon Sep 17 00:00:00 2001 From: Moritz Lipp Date: Thu, 13 May 2010 11:36:05 +0200 Subject: [PATCH] Fixed sc_follow --- zathura.c | 1 + 1 file changed, 1 insertion(+) diff --git a/zathura.c b/zathura.c index b057fd7..6ee11d1 100644 --- a/zathura.c +++ b/zathura.c @@ -1402,6 +1402,7 @@ sc_follow(Argument* argument) highlight_result(Zathura.PDF.page_number, link_rectangle); /* draw text */ + recalcRectangle(Zathura.PDF.page_number, link_rectangle); cairo_t *cairo = cairo_create(Zathura.PDF.surface); cairo_select_font_face(cairo, font, CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_BOLD); cairo_set_font_size(cairo, 10);