]> source.dussan.org Git - xmlgraphics-fop.git/commit
Fixed ugly NPE (with no message) when a malconfigured font was processed by the PS...
authorJeremias Maerki <jeremias@apache.org>
Tue, 10 Jan 2006 13:19:54 +0000 (13:19 +0000)
committerJeremias Maerki <jeremias@apache.org>
Tue, 10 Jan 2006 13:19:54 +0000 (13:19 +0000)
commitc36ecae6e622d125f0ff253cfdacf855ffdfc33c
tree9a91b76b160fd78b6b1e79e294192577f54b9ceb
parentfe4f89a5b0997983c73d365d4a36324320a96330
Fixed ugly NPE (with no message) when a malconfigured font was processed by the PS Renderer (even when that font is not used). When the font is used we don't get an NPE anymore but a Runtime exception. Not ideal, but a little better, especially because of the error message. I hope that at some point someone finds time to clean up the whole exception handling in FOP.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@367593 13f79535-47bb-0310-9956-ffa450edef68
src/java/org/apache/fop/fonts/LazyFont.java
src/java/org/apache/fop/render/ps/PSFontUtils.java