diff options
Diffstat (limited to 'pdf/ev-poppler.cc')
-rw-r--r-- | pdf/ev-poppler.cc | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/pdf/ev-poppler.cc b/pdf/ev-poppler.cc index 03a27a6..5633840 100644 --- a/pdf/ev-poppler.cc +++ b/pdf/ev-poppler.cc @@ -720,10 +720,13 @@ ev_link_from_dest (PopplerAction *action) action->goto_dest.dest->zoom); break; case POPPLER_DEST_FIT: - unimplemented_dest = "POPPLER_DEST_FIT"; + link = ev_link_new_page_fit (action->any.title, + action->goto_dest.dest->page_num - 1); break; case POPPLER_DEST_FITH: - unimplemented_dest = "POPPLER_DEST_FITH"; + link = ev_link_new_page_fith (action->any.title, + action->goto_dest.dest->page_num - 1, + action->goto_dest.dest->top); break; case POPPLER_DEST_FITV: unimplemented_dest = "POPPLER_DEST_FITV"; |