Fixes to font-handling in RiText