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

display /Desc from /Filespec dictionary #18030

Closed
ousia opened this issue Apr 30, 2024 · 1 comment · Fixed by #18031
Closed

display /Desc from /Filespec dictionary #18030

ousia opened this issue Apr 30, 2024 · 1 comment · Fixed by #18031

Comments

@ousia
Copy link

ousia commented Apr 30, 2024

Attach (recommended) or Link to PDF file here:

Already uncompressed file with the following object:

2 0 obj
<<
  /AFRelationship /Unspecified
  /Desc <FEFF005300480041003500310032003A002000300036006200650063003500360038003000380066003900330038003400360066003100640034003100660066003000620065003400650035003400300037003900630031003200390031006200380036003000330037003800630038003000310063003000660033003500660031006400310032003700610038003600380030003900320033006600660036006400650035003900620064003500610039003600390032006600300031006600300064003900370063006100340066003200360064006100310037003800650064003000330036003300350066006100340038003100330064003800360063003500380061003600630039003800310061>
  /EF <<
    /F 1 0 R
  >>
  /F (Empty page.pdf)
  /Type /Filespec
  /UF <FEFF0045006D00700074007900200070006100670065002E007000640066>
>>
endobj

Configuration:

  • Web browser and its version: Firefox 125.0.3
  • Operating system and its version: Win10
  • PDF.js version: included in the browser.
  • Is a browser extension: yes

Steps to reproduce the problem:

  1. There is no way to get /Desc from the

What is the expected behavior? (add screenshot)

Something similar to this (Evince when hovering):

hover-display-fs8

Or to this (dialog with extra info for embedded files in Okular):

okular-info-fs8

What went wrong? (add screenshot)

/Desc value from /Filespec cannot be accessed at all.

In this case, the information is relevant, since it includes the hash for the embedded document.

Many thanks for your help.

@ousia
Copy link
Author

ousia commented May 2, 2024

Many thanks for your fix, @Snuffleupagus.

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