Summary: | cairo_scale and (freetype) fonts only scales glyphs badly, layout even worse | ||
---|---|---|---|
Product: | cairo | Reporter: | Onne Gorter <o.gorter> |
Component: | freetype font backend | Assignee: | David Turner <david> |
Status: | RESOLVED MOVED | QA Contact: | cairo-bugs mailing list <cairo-bugs> |
Severity: | normal | ||
Priority: | medium | ||
Version: | 1.10.2 | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
example1
example2 1 pixels width becomes 2 pixels width with scale 0.5 ... oeps |
Created attachment 48055 [details]
example2 1 pixels width becomes 2 pixels width with scale 0.5 ... oeps
-- 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.
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