test/font: Some performance tweaks