Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sub-page transition effects should only affect the OCG they point to #501

Open
jpakkane opened this issue Dec 6, 2024 · 1 comment
Open
Labels
bug Something isn't correct

Comments

@jpakkane
Copy link

jpakkane commented Dec 6, 2024

Suppose you want to create a PDF presentation with bullet points that appear one by one like this:

A heading

- first bullet
- second bullet
- third bullet

If you specify a transition like fly, you'd expect the "new" content to fly in while the rest of the slide remains unchanged.

AFAIK the only PDF viewer that displays sub-page transitions is is Acrobat Reader and it does not behave like this. Instead what it does is to render the whole page on a different "slide" and then fly that in over the old one. Basically the behavior is identical to having a full page transition.

Indeed this seems to be allowed by the standard, which only says this in 12.4.4.2: "Transition effects, similar to the page transitions described earlier, may be specified as transition actions that are part of the NA or PA sequence; see 12.6.4.15, "Transition actions"."

This should be amended to say something like "the PDF processor should, when feasible, apply this transition effect only to the optional content group(s) that are part of the action in the navigation node".

@jpakkane jpakkane added the bug Something isn't correct label Dec 6, 2024
@jpakkane
Copy link
Author

jpakkane commented Dec 9, 2024

I looked into this a bit more and apparently it is possible to do this, but only with the fly transition type. Or at least that is what Acrobat does. I currently only have the 1.7 spec and the only place that mentions this is in the transition type table that says "Changes are flown out or in". Note that subpage transitions (which this applies to) are only discussed after the table.

This should be supported in (some) other transition types as well. And if not, then at the very least the textual description could be a bit more direct on the interplay between subpage transitions and transition types.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't correct
Projects
None yet
Development

No branches or pull requests

1 participant