[
https://issues.apache.org/jira/browse/PDFBOX-601?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jukka Zitting updated PDFBOX-601:
---------------------------------
Fix Version/s: 1.0.0
> 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
> Fix For: 1.0.0
>
> 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.