pdfbox-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henning von Bargen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PDFBOX-4565) Make constructors PDPanoseClassification and CIDSystemInfo public
Date Tue, 11 Jun 2019 17:07:00 GMT

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

Henning von Bargen commented on PDFBOX-4565:

BTW the community reacted very quickly - I'm impressed.

> 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

To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org

View raw message