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

bookmark-set throws image-display-size: Invalid image specification: (space :width (1615) :height (2013)) #15

Open
NightMachinery opened this issue Dec 3, 2022 · 1 comment

Comments

@NightMachinery
Copy link

NightMachinery commented Dec 3, 2022

bookmark-set throws image-display-size: Invalid image specification: (space :width (1615) :height (2013)).

pdf-view-position-to-register and pdf-view-bookmark-make-record throw the same error. You might need to scroll a bit to get the error.

I am using better-jumper-mode, too, and it too cannot jump to positions in PDFs. (No error messages there, the page just turns gray and on redisplay the position has not changed.)

@dalanicolai
Copy link
Owner

Indeed, I have also not implemented this functionality. However, I found that the functionality for storing the bookmark could easily be implemented/fixed for image-roll and I have pushed a fix (to my pdf-roll branch of pdf-tools). From a quick test here, it looks like it might have fixed the issue. However, it could be that to 'thoroughly' fix it, we might have to update the 'bookmark jump handler' also. Anyway, you can try it out by syncing with the pdf-roll branch of my pdf-tools fork.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants