[
https://issues.apache.org/jira/browse/PDFBOX-2303?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14116604#comment-14116604
]
ASF subversion and git services commented on PDFBOX-2303:
---------------------------------------------------------
Commit 1621555 from [~jahewson] in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1621555 ]
PDFBOX-2303: Removed file which wasn't supposed to be in the commit
> Lazy loading of glyphs in TrueType fonts
> ----------------------------------------
>
> Key: PDFBOX-2303
> URL: https://issues.apache.org/jira/browse/PDFBOX-2303
> Project: PDFBox
> Issue Type: Improvement
> Components: FontBox
> Affects Versions: 2.0.0
> Reporter: John Hewson
> Assignee: John Hewson
> Priority: Minor
> Fix For: 2.0.0
>
>
> FontBox's TTF GlyphTable reads the entire glyph table and constructs an
> object for each glyph. However this is very slow for large external fonts
> (e.g. Asian) such as "STXihei" which is 15.7MB and has 37255 glyphs. On my
> machine it takes around 9 seconds for FontBox to load that font just to
> render 15 glyphs from it.
> We can modify GlyphTable to make it lazy so that glyphs are read individually
> only when needed.
--
This message was sent by Atlassian JIRA
(v6.2#6252)