Submitted by: Robert Bielik <Robert.Bielik.at.gyros.com> (Patch committed with modifications and additional changes for test code) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@225486 13f79535-47bb-0310-9956-ffa450edef68