fix for custom fonts