Dear all,
 
I found a small bug in SingleByteFont - please see attached patch - in 
getBoundingBox:

if (idx >= 0 && idx < boundingBoxes.length)

might result in a null pointer exception, when getBoundingBox is called before 
setBoudning box.
So repleace with:

if (boundingBoxes != null && idx >= 0 && idx < boundingBoxes.length)


Greetings

  Kai Hofmann

 
-- 
Kai Hofmann           EMail: powers...@web.de
Bremen/Germany        

Attachment: SingleByteFont.java.patch
Description: Binary data

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org

Reply via email to