You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Jukka Zitting (JIRA)" <ji...@apache.org> on 2010/01/15 00:34:54 UTC
[jira] Resolved: (PDFBOX-601) PDFBox performance issue:
PDSimpleFont, PDFont performance tweaks
[ https://issues.apache.org/jira/browse/PDFBOX-601?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jukka Zitting resolved PDFBOX-601.
----------------------------------
Resolution: Fixed
Assignee: Jukka Zitting
Changes committed in revision 899472. Thanks!
> PDFBox performance issue: PDSimpleFont, PDFont performance tweaks
> ------------------------------------------------------------------
>
> Key: PDFBOX-601
> URL: https://issues.apache.org/jira/browse/PDFBOX-601
> Project: PDFBox
> Issue Type: Improvement
> Components: PDModel
> Affects Versions: 0.8.0-incubator
> Environment: All
> Reporter: Mel Martinez
> Assignee: Jukka Zitting
> Attachments: PDFont.java, PDFontDescriptorDictionary.java, PDSimpleFont.java
>
>
> During text extraction, font size / descriptor / encoding attributes are accessed repeatedly in order to do positional calculations and byte-character conversions.
> The current code has several accessors for these things that redo rather slow calculations each time - even thought the font object state is not changed.
> The results of these calculations should be persisted in instance fields once calculated. This greatly improves performance.
> I'll attach new versions of PDFont, PDFontDescriptorDictionary and PDSimpleFont that have these tweaks.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.