Bug 61034 - PDF page labels not shown properly
Summary: PDF page labels not shown properly
Status: RESOLVED FIXED
Alias: None
Product: poppler
Classification: Unclassified
Component: glib frontend (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: poppler-bugs
QA Contact:
URL: https://bugzilla.gnome.org/show_bug.c...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-18 01:34 UTC by Germán Poo-Caamaño
Modified: 2013-02-18 19:43 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
PDF test case (12.65 KB, application/octet-stream)
2013-02-18 01:34 UTC, Germán Poo-Caamaño
Details

Description Germán Poo-Caamaño 2013-02-18 01:34:01 UTC
Created attachment 75015 [details]
PDF test case

This bug was reported in https://bugzilla.gnome.org/show_bug.cgi?id=680766

"Evince doesn't show page labels correctly.  The attached PDF contains the statement

/PageLabels<</Nums[0<</S/a>>1<</S/r>>]>>

which indicates that the first page's label is "a", and the second page's label
is "i". However, for the first page, evince shows an empty label, for the
second page it correctly shows "i". It might be a bug in poppler and not
evince. Not sure about that.

The latex code to create the attached PDF file:

\pdfcompresslevel 0
\pdfobjcompresslevel 0
%\listfiles
\documentclass{article}
\usepackage{hyperref}
\begin{document}
\pagenumbering{alph}
Test
\newpage
\pagenumbering{roman}
Test
\end{document}
"

When I open the PDF file with poppler-glib-demo and I try to get the information for each page, I only get the Page Label for the second page ('i'), but the first one is empty.

I do not know whether this problem is specific to the glib fronted or is general.

FWIW, I tested it with poppler master (df35562)
Comment 1 Albert Astals Cid 2013-02-18 18:48:38 UTC
Fixed, thanks for the report


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.