You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Henning von Bargen (JIRA)" <ji...@apache.org> on 2019/06/11 17:06:00 UTC
[jira] [Closed] (PDFBOX-4565) Make constructors
PDPanoseClassification and CIDSystemInfo public
[ https://issues.apache.org/jira/browse/PDFBOX-4565?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Henning von Bargen closed PDFBOX-4565.
--------------------------------------
Resolution: Workaround
> Make constructors PDPanoseClassification and CIDSystemInfo public
> -----------------------------------------------------------------
>
> Key: PDFBOX-4565
> URL: https://issues.apache.org/jira/browse/PDFBOX-4565
> Project: PDFBox
> Issue Type: Improvement
> Components: FontBox, PDModel
> Affects Versions: 2.0.15
> Reporter: Henning von Bargen
> Priority: Trivial
> Original Estimate: 10m
> Remaining Estimate: 10m
>
> The constructors for the classes PDPanoseClassification and CIDSystemInfo are package-visible only (not public).
> This makes coding a different FontProvider similar to FileSystemFontProvider an unnecessarily hard task.
> Background:
> I'm working on replacing iText with PDFBox for Eclipse BIRT. One task is to support BIRTs fontconfig.xml for locating TTF fonts etc.
> Obviously I need something simlar to the FileSystemFontProvider, but instead of using the file system directly, use the information in BIRTs fontconfig.xml file.
> So I started with copying FileSystemFontProvider to a new class ConfigFontProvider in a different package.
> Now this fails because the classes PDPanoseClassification and CIDSystemInfo have non-public (package-only) constructors. So I'd have to copy a whole bunch of source files in order to make this work.
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org