I have a Java program that generates an XML file, which is rendered in to a PDF. The problem is that I can't seem to get the hyphenation to work.
I've read trough https://www.w3.org/TR/xsl/#d0e26492 briefly but I still don't understand why I can't get my text to hyphenate. I've tried inserting hyphenate="true"
in nearly all blocks but strings such as "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA..." still go out of bounds. I've tried to set language
and locale
too but I don't really care where the hyphenation happens, anywhere would be fine.