Apache FOP Code fix (bug 39414)

Code fix
by
AD
(fixes bug 39414)

:

Split up FOText instances larger than 32K characters to avoid
integer overflow during layout.