Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-2745

PDPageXYZDestination zoom property can't be set lower than 100%

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.8.9, 1.8.10, 2.0.0
    • Fix Version/s: 1.8.10, 2.0.0
    • Component/s: PDModel
    • Labels:
      None
    • Environment:
      Windows 7, JRE 1.8.0, Eclipse

      Description

      The zoom property of PDPageXYZDestination is currently an int, which means it can't be anything that isn't a multiple of 100%, as the zoom level is measured between 0 (=0%) and 1 (=100%), or higher, not between 0 and 100.
      Therefore it should be changed to a float.

        Attachments

        1. huhu.pdf
          201 kB
          Tilman Hausherr

          Activity

            People

            • Assignee:
              tilman Tilman Hausherr
              Reporter:
              giladd Gilad Denneboom
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: