[okular] [Bug 438923] PDF contents tab doesn't respect empty page label number style

Dani Pozo bugzilla_noreply at kde.org
Sat Jun 19 23:14:22 BST 2021


https://bugs.kde.org/show_bug.cgi?id=438923

--- Comment #4 from Dani Pozo <danipozo at autistici.org> ---
(In reply to David Hurka from comment #2)
> The Contents view needs to show something as page number. I guess, since the
> PDF does not provide a page label, it shows the number of the page.

Does it need to show something always? As far as I can understand, for the case
in which the book page doesn't have a number, but it has a bookmark entry,
you can leave the page label style empty. Evince, for instance, shows no number
or letter in the tab analogous to the Contents tab.

> Should we somehow deemphasize the number, to avoid confusion? If the PDF
> provides page labels for not all pages. The number could then be in
> brackets: (1) or in a desaturated font?

As I'm not sure whether this Evince behaviour would break some other PDFs,
this could be an option too. I have been reading a bit on the PDF standard
(http://www.adobe.com/content/dam/Adobe/en/devnet/pdf/pdfs/PDF32000_2008.pdf),
and from Table 159 (page 375) I understand that the labels should be empty in
this case. This is an opinion supported only from looking briefly at the
standard, may easily be wrong.

(In reply to Albert Astals Cid from comment #1)
> Can you attach a PDF file in which you expect this to happen?

Sure, please see the attached PDF. The first two pages have no page label
style.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list