fix outlines around scaled fonts (#2845)
Merge pull request #2856 from JakubValtar/bugfix-font-outlines

Fix outlines around scaled fonts (#2845)