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

TextPosition exact angle position

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Won't Do
    • 2.0.8
    • None
    • Text extraction
    • None

    Description

      Dear Apache contributors,

      Is there an efficient way to get the exact angle in radians or degrees of a TextPosition, not only the ranges (0, 90, 180, 270). Basically, what we have currently uses the following information.

       

      float a = textMatrix.getScaleY();
      float b = textMatrix.getShearY();
      float c = textMatrix.getShearX();
      float d = textMatrix.getScaleX();
      

      Hagd, A.

       

      Attachments

        1. test_rotation.pdf
          321 kB
          Alexandre

        Activity

          People

            Unassigned Unassigned
            arelaxend Alexandre
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: