[Poppler-bugs] [Bug 97262] Enumerate PDF named destinations

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Oct 7 13:33:33 UTC 2016


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

--- Comment #64 from Adrian Johnson <ajohnson at redneon.com> ---
(In reply to Masamichi Hosoda from comment #63)
> But, I think that there is a case that the serial (appeared) order in PDF is
> necessary.
> In this case, both GTree and GHashTable cannot be used since the serial
> order is not preserved.

Poppler Dict objects are sorted and PDF Name trees are required to be sorted.
The code in Catalog.cc also sorts the name tree as I think there was a buggy
PDF that did not sort the name tree. As a result, the names will always be
sorted.

I think GTree is best as it has the advantage of both sorted order and fast
lookup.

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


More information about the Poppler-bugs mailing list