Uploaded image for project: 'FOP'
  1. FOP
  2. FOP-1737

[PATCH] Revisited implementation of PDFRectangle and PDFLink (derived from new PDFAnnotation dictionary)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Resolution: Unresolved
    • 2.5
    • None
    • renderer/pdf
    • None
    • Operating System: All
      Platform: All
    • 48255

    Description

      The class PDFRectangle just supports Integer values but the definintion in PDF Reference 1.4 Section 3.8.3 defines a Rectangle to be written as an array of four NUMBERS.

      A revisited implementation with datatype java.lang.Number or even better with PDFNumber would be convenient.

      If so, the native implementation of Rectangle2D and the PDF /Rect command in PDFLink could be replaced by a given PDFRectangle with floating point number support.

      Attachments

        1. fop_link_rectangle_patch.diff
          18 kB
          Gerald Buchgraber

        Activity

          People

            Unassigned Unassigned
            gerald.buchgraber@gmail.com Gerald Buchgraber
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: