[Poppler-bugs] [Bug 61034] New: PDF page labels not shown properly

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Feb 17 17:34:01 PST 2013


https://bugs.freedesktop.org/show_bug.cgi?id=61034

          Priority: medium
            Bug ID: 61034
          Assignee: poppler-bugs at lists.freedesktop.org
           Summary: PDF page labels not shown properly
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: gpoo at gnome.org
          Hardware: Other
            Status: NEW
           Version: unspecified
         Component: glib frontend
           Product: poppler

Created attachment 75015
  --> https://bugs.freedesktop.org/attachment.cgi?id=75015&action=edit
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)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/poppler-bugs/attachments/20130218/60343ad4/attachment.html>


More information about the Poppler-bugs mailing list