[ 
https://issues.apache.org/jira/browse/PDFBOX-972?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13011784#comment-13011784
 ] 

Andreas Lehmkühler commented on PDFBOX-972:
-------------------------------------------

All these information should be part of the font descriptor/dictionary of the 
type1 font, so that it isn't neccessary to get those from the embedded type1C 
font by delegating the method calls. Or do you have a counter example which 
doesn't work as assumed?

> Specific Type1C methods not used anymore
> ----------------------------------------
>
>                 Key: PDFBOX-972
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-972
>             Project: PDFBox
>          Issue Type: Bug
>          Components: PDModel
>    Affects Versions: 1.6.0
>            Reporter: Timo Boehme
>
> In one of the last releases the PDFontFactory changed  so that for Type1C 
> fonts a PDType1Font will be created and not as before a PDType1CFont. While 
> PDType1Font will internally instantiate a PDType1CFont several of the methods 
> which PDType1CFont overrides are now hidden and not used (instead the 
> PDSimpleFont variants are used).
> I will add the necessary methods in an attachment which calls the appropriate 
> methods.
> However having all these type specific switches it seems to be a better 
> solution to subclass PDType1CFont from PDType1Font.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to