Bug 38375 - cairo_scale and (freetype) fonts only scales glyphs badly, layout even worse
Summary: cairo_scale and (freetype) fonts only scales glyphs badly, layout even worse
Status: RESOLVED MOVED
Alias: None
Product: cairo
Classification: Unclassified
Component: freetype font backend (show other bugs)
Version: 1.10.2
Hardware: Other All
: medium normal
Assignee: David Turner
QA Contact: cairo-bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-16 07:04 UTC by Onne Gorter
Modified: 2018-08-25 13:37 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
example1 (28.84 KB, image/png)
2011-06-16 07:04 UTC, Onne Gorter
Details
example2 1 pixels width becomes 2 pixels width with scale 0.5 ... oeps (10.48 KB, image/png)
2011-06-16 07:09 UTC, Onne Gorter
Details

Description Onne Gorter 2011-06-16 07:04:29 UTC
Created attachment 48054 [details]
example1

rendering fonts (especially at normal 10-18px sizes) appear very bad when scaled, like when doing cairo_scale(cairo, 0.5, 1.0)

The problem seems to be the glyphs are individually scaled, and then laid out as (almost) normal. The result is much worse compared to rendering the text normal and then scaling it back.

see attachments how more pixels are inserted when rendering scaled
Comment 1 Onne Gorter 2011-06-16 07:09:58 UTC
Created attachment 48055 [details]
example2 1 pixels width becomes 2 pixels width with scale 0.5 ... oeps
Comment 2 GitLab Migration User 2018-08-25 13:37:15 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/cairo/cairo/issues/102.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.