Fixes font writing and loading