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/06/09 16:24:00 UTC

[jira] [Comment Edited] (PDFBOX-4869) Reading standard 14 fonts is slow

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

Alfred edited comment on PDFBOX-4869 at 6/9/20, 4:23 PM:
---------------------------------------------------------

Do you tihnk it would be ok to use a tool like diffy.org  ?

The review will auto-delete itself in 24 hours, and there's a prominent "delete forever" button top right. 
Everything looks nice an clean...

[https://diffy.org/diff/x2280cjwzkcy3rmtpkbeuq5mi]


was (Author: faltiska):
Do you tihnk it would be ok to use a tool like diffy.org  ?

They seem to keep the patch content, on their servers, but there's a prominent "delete forever" button top right.
And it looks nice an clean...

https://diffy.org/diff/x2280cjwzkcy3rmtpkbeuq5mi

> Reading standard 14 fonts is slow
> ---------------------------------
>
>                 Key: PDFBOX-4869
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4869
>             Project: PDFBox
>          Issue Type: Improvement
>          Components: Parsing, Text extraction
>    Affects Versions: 3.0.0 PDFBox
>            Reporter: Alfred
>            Priority: Major
>         Attachments: PDFBOX-4869.patch
>
>   Original Estimate: 1m
>  Remaining Estimate: 1m
>
> I am testing text extraction from PDF and profiling the execution.
> I found that the second biggest time consumer is the static code in Standard14Fonts that loads fonts from the pdf box jar.
> The culprit seems to be the direct use of the stream returned getResurceAsStream.
>  That would be a ZipInputStream when using PDFBox as a jar.
> Using a buffered stream around it reduces the load time a lot.
>  



--
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