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/09/23 20:14:33 UTC
[jira] [Comment Edited] (PDFBOX-2379) glyphlist_ext is not OSGI
compatible
[ https://issues.apache.org/jira/browse/PDFBOX-2379?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14145160#comment-14145160 ]
John Hewson edited comment on PDFBOX-2379 at 9/23/14 6:13 PM:
--------------------------------------------------------------
I've chosen to throw an UnsupportedOperationException if "glyphlist_ext" is set, so that users upgrading to 2.0 don't get silent errors. We also print a message explaining that GlyphList.DEFAULT.addGlyphs(Properties) has to be called instead.
was (Author: jahewson):
I've chosen to throw an UnsupportedOperationException if the "glyphlist_ext" is set, so that users upgrading to 2.0 don't get silent errors. We also print a message explaining that GlyphList.DEFAULT.addGlyphs(Properties) has to be called instead.
> glyphlist_ext is not OSGI compatible
> ------------------------------------
>
> Key: PDFBOX-2379
> URL: https://issues.apache.org/jira/browse/PDFBOX-2379
> Project: PDFBox
> Issue Type: Bug
> Affects Versions: 2.0.0
> Reporter: John Hewson
> Assignee: John Hewson
> Priority: Minor
> Fix For: 2.0.0
>
>
> The system property "glyphlist_ext" used in GlyphList is not OSGI compatible (see PDFBOX-2358) as it loads resources from an external module. The mechanism is unsafe and should be replaced with a simple static method, e.g. GlyphList.addGlyphs(Properties).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)