X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=pdf%2Fev-poppler.cc;h=30b5a72e0964c6adacad8fd7532d7777174a0b79;hb=b66c8a73177b462aebcb6e495341807abb31a93f;hp=9b1fc47d2fedbaeb8f18c7f81f374c47c696374e;hpb=0e91ce30faeda4f67eebd723caea4764e70f9334;p=evince.git diff --git a/pdf/ev-poppler.cc b/pdf/ev-poppler.cc index 9b1fc47d..30b5a72e 100644 --- a/pdf/ev-poppler.cc +++ b/pdf/ev-poppler.cc @@ -729,10 +729,17 @@ ev_link_from_dest (PopplerAction *action) action->goto_dest.dest->top); break; case POPPLER_DEST_FITV: - unimplemented_dest = "POPPLER_DEST_FITV"; + link = ev_link_new_page_fitv (action->any.title, + action->goto_dest.dest->page_num - 1, + action->goto_dest.dest->left); break; case POPPLER_DEST_FITR: - unimplemented_dest = "POPPLER_DEST_FITR"; + link = ev_link_new_page_fitr (action->any.title, + action->goto_dest.dest->page_num - 1, + action->goto_dest.dest->left, + action->goto_dest.dest->bottom, + action->goto_dest.dest->right, + action->goto_dest.dest->top); break; case POPPLER_DEST_FITB: unimplemented_dest = "POPPLER_DEST_FITB";