In PrismFontFactory#createFontResource it calls createFontFile() passing the args in the wrong order
it calls createFontFile(..., embedded, register, ...)
the correct is createFontFile(..., register, embedded, ...)
it calls createFontFile(..., embedded, register, ...)
the correct is createFontFile(..., register, embedded, ...)