Issue #4919: PDF: Order of pages reversed when opening and closing.

Let's go with the logics "bottom layer is first", which is also the
logics in animated formats. Hence changing the layer order on loading
multi-page PDF.
This commit is contained in:
Jehan 2020-04-08 20:08:00 +02:00
parent 38059dc5fd
commit 809e79f37a
1 changed files with 1 additions and 1 deletions

View File

@ -855,7 +855,7 @@ load_image (PopplerDocument *doc,
surface = render_page_to_surface (page, width, height, scale, antialias);
layer_from_surface (image, page_label, i, surface,
layer_from_surface (image, page_label, 0, surface,
doc_progress, 1.0 / pages->n_pages);
g_free (page_label);