You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Alfred (Jira)" <ji...@apache.org> on 2020/07/15 10:59:00 UTC

[jira] [Commented] (PDFBOX-4916) Use dedicated scale and translate operations instead of concatenate where possible

    [ https://issues.apache.org/jira/browse/PDFBOX-4916?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17158079#comment-17158079 ] 

Alfred commented on PDFBOX-4916:
--------------------------------

This is the patch: [^PDFBOX-4916.patch]

 

This is the review: https://diffy.org/diff/2t2i5xw7fyhmykjdnp34kxd2t9

> Use dedicated scale and translate operations instead of concatenate where possible
> ----------------------------------------------------------------------------------
>
>                 Key: PDFBOX-4916
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4916
>             Project: PDFBox
>          Issue Type: Improvement
>          Components: Text extraction
>    Affects Versions: 2.0.20, 3.0.0 PDFBox
>            Reporter: Alfred
>            Priority: Minor
>         Attachments: PDFBOX-4916.patch
>
>
> 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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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