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

Use dedicated scale and translate operations instead of concatenate where possible

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.20, 3.0.0 PDFBox
    • Fix Version/s: 3.0.0 PDFBox
    • Component/s: Text extraction
    • Labels:
      None

      Description

      LegacyPDFStreamEngine does translating and scaling using the generic concatenate matrix ops.

      A scale or a translate require much less multiplications and so there's room to improve there.

      I have the code ready and I will submit a patch right away.

        Attachments

        1. PDFBOX-4916.patch
          7 kB
          Alfred

          Activity

            People

            • Assignee:
              lehmi Andreas Lehmkühler
              Reporter:
              Faltiska Alfred
            • Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: