rewrite VF scaling code to fix kerning