You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "John Hewson (JIRA)" <ji...@apache.org> on 2014/10/11 03:45:33 UTC
[jira] [Closed] (PDFBOX-1083) PDType0Font incomplete
[ https://issues.apache.org/jira/browse/PDFBOX-1083?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
John Hewson closed PDFBOX-1083.
-------------------------------
Resolution: Fixed
Fix Version/s: 2.0.0
We ended up doing something similar in 2.0.
> PDType0Font incomplete
> ----------------------
>
> Key: PDFBOX-1083
> URL: https://issues.apache.org/jira/browse/PDFBOX-1083
> Project: PDFBox
> Issue Type: Improvement
> Components: PDModel
> Affects Versions: 1.6.0
> Reporter: Wulf Berschin
> Priority: Trivial
> Fix For: 2.0.0
>
> Original Estimate: 0.25h
> Remaining Estimate: 0.25h
>
> E.g. getFontDescriptor() always returns null (A composite (Type0) font doesnt have a FontDescriptor, instead its DescendentFonts[0] has it)
> Please add:
> public PDFontDescriptor getFontDescriptor()
> {
> return descendentFont.getFontDescriptor();
> }
> and check if other methods could follow, e.g
> public PDRectangle getFontBoundingBox() throws IOException
> {
> return descendentFont.getFontBoundingBox();
> }
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)