mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-29 11:16:00 +01:00
Fixed sc_follow
This commit is contained in:
parent
fe3de42925
commit
5d7f332909
1 changed files with 1 additions and 0 deletions
|
@ -1402,6 +1402,7 @@ sc_follow(Argument* argument)
|
||||||
highlight_result(Zathura.PDF.page_number, link_rectangle);
|
highlight_result(Zathura.PDF.page_number, link_rectangle);
|
||||||
|
|
||||||
/* draw text */
|
/* draw text */
|
||||||
|
recalcRectangle(Zathura.PDF.page_number, link_rectangle);
|
||||||
cairo_t *cairo = cairo_create(Zathura.PDF.surface);
|
cairo_t *cairo = cairo_create(Zathura.PDF.surface);
|
||||||
cairo_select_font_face(cairo, font, CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_BOLD);
|
cairo_select_font_face(cairo, font, CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_BOLD);
|
||||||
cairo_set_font_size(cairo, 10);
|
cairo_set_font_size(cairo, 10);
|
||||||
|
|
Loading…
Reference in a new issue