You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (Jira)" <ji...@apache.org> on 2023/08/05 10:20:00 UTC

[jira] [Resolved] (PDFBOX-5359) Operators "q" and "Q" should also preserve text matrices

     [ https://issues.apache.org/jira/browse/PDFBOX-5359?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tilman Hausherr resolved PDFBOX-5359.
-------------------------------------
    Fix Version/s: 2.0.30
                   3.0.0 PDFBox
         Assignee: Tilman Hausherr
       Resolution: Fixed

> Operators "q" and "Q" should also preserve text matrices
> --------------------------------------------------------
>
>                 Key: PDFBOX-5359
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-5359
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Parsing, Rendering
>    Affects Versions: 2.0.24, 3.0.0 PDFBox
>            Reporter: Jaromír Dobrý
>            Assignee: Tilman Hausherr
>            Priority: Major
>              Labels: PDF2.0
>             Fix For: 2.0.30, 3.0.0 PDFBox
>
>         Attachments: zapf_dingbats.pdf, zapf_dingbats_page_indirect.pdf
>
>
> 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.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org