Djphoenix719 / PDFoundry

A fully featured PDF viewer module for Foundry VTT, including form fillable actor sheets, journal links, and more!
Apache License 2.0
41 stars 20 forks source link

Form fields with rotation does not rotate #111

Open STBaf opened 2 years ago

STBaf commented 2 years ago

Description I'm using a Form-Fillable PDF with both landscape and portrait oriented pages. On the landscape pages are fillable fields that are, seems of the orientation change, rotated by 90 degree. PDFoundry (or the PDF library) seem not to use the rotation value, all data in these fields are unusuable because there are out of orientation.

Reproduction Steps to reproduce the behavior:

  1. Download https://www.ulisses-spiele.de/assets/download/oldcontent/Wege-der-Helden_Heldendokument-edit_20b4.pdf
  2. Add as charakter sheet to any Foundry world
  3. Take a look at the landscape pages in the pdf and fill values like spells (Zauber, it's a german pdf) or the attribute values

Expected behavior Fields get rotated and by that, usuable, like the portrait mode fields

Screenshots pdfoundry-rotation

Version Information:

Additional context May be similat to #110 and/or #48

marco-c commented 2 years ago

FYI, this was fixed in latest pdf.js.

STBaf commented 2 years ago

Yes, if seen it on my open issue in the PDF.js Repo. Let's see when we get a new, fresh release from PDFoundry with the new PDF.js in it. I think @Djphoenix719 will this work up in the next time.