changes copied over from debian.org for smoother fonts