You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "bai yuan (Jira)" <ji...@apache.org> on 2024/03/06 05:47:00 UTC

[jira] [Updated] (PDFBOX-5779) Loading font streams has poorer performance compared to loading font files

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

bai yuan updated PDFBOX-5779:
-----------------------------
    Affects Version/s: 2.0.19

> Loading font streams has poorer performance compared to loading font files
> --------------------------------------------------------------------------
>
>                 Key: PDFBOX-5779
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-5779
>             Project: PDFBox
>          Issue Type: Improvement
>    Affects Versions: 2.0.19
>            Reporter: bai yuan
>            Priority: Major
>         Attachments: arial.ttf, pdfbox.java
>
>
> Run the attached program, then open the code on line 41 and comment out the code on line 44, and compare the time consumption of the two font loading methods.
> Why does using font streams have poorer performance compared to using font files? Is this a limitation? If I can only use font streams, are there any ways to improve performance?



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