The code for the compound word hyphenation is taken from the Apache FOP project. All credits for the hyphenation code belongs to them.