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

Operators "q" and "Q" should also preserve text matrices

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.0.24, 3.0.0 PDFBox
    • None
    • Parsing, Rendering

    Description

      Open the attached file in PDFDebugger and compare to the Adobe Reader or Foxit. The problem is in saving/restoring the graphics state inside text object (which should be allowed according to the documentation and text matrices should be part of the graphics state).

      Therefore I propose the solution to move PDFStreamEngine.textMatrix and PDFStreamEngine.textLineMatrix into PDGraphicsState.

      Attachments

        1. zapf_dingbats.pdf
          2 kB
          Jaromír Dobrý
        2. zapf_dingbats_page_indirect.pdf
          7 kB
          Jaromír Dobrý

        Activity

          People

            Unassigned Unassigned
            jaromirdobry@kadel.cz Jaromír Dobrý
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: