Apache FOP Code fix (bug 37815)

Code fix
by
JM
(fixes bug 37815)

:

Bugfix: The combination of content-width="scale-to-fit" and content-height="100%"
did not work as expected due to a datatype conversion bug.
Thanks to Tom Craddock.