You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The above point 1 can be ignored as I understand how PDF stores an outline item.
I think point 2 is due to an upstream issue in do_outline_update in pdf-outline.c
When an outline item is inserted, the open property is not being applied, and count always increment, resulting in all outline levels being unfolded.
The workaround is to do another pass to update the items after insertion, so that open is correctly applied.
King-of-Infinite-Space
changed the title
Outline Iterator Object "open" property not working
Outline Iterator Object "open" property not applied after insertion
Jul 15, 2024
@King-of-Infinite-Space Thanks for this - as this is an upstream issue (i.e. to do with core mupdf) would you mind reporting this bug here: https://bugs.ghostscript.com/ ? (feel free to tag this Issue on the bug and vice-versa)
Hi devs, I want to add outlines that by default show first two levels and fold sub-levels.
I noticed two issues:
open
always printsfalse
.The text was updated successfully, but these errors were encountered: