Summary: | cairo doesn't respect TrueType gasp tables (and fonts look ugly as a result) | ||
---|---|---|---|
Product: | cairo | Reporter: | Nicholas Miell <nmiell> |
Component: | freetype font backend | Assignee: | David Turner <david> |
Status: | RESOLVED MOVED | QA Contact: | cairo-bugs mailing list <cairo-bugs> |
Severity: | normal | ||
Priority: | medium | CC: | bugs.freedesktop, fonts-bugs, freedesktop |
Version: | 1.9.3 | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
Verdana Bold 15 pt, rendered correctly
Verdana Bold 15 pt, rendered incorrectly |
Description
Nicholas Miell
2009-09-16 20:07:52 UTC
Whether to honour the gasp suggestion and disable either antialiasing or the bytecode interpreter at any given sizes should not be cairo's choice but rather should be specified in the fontconfig settings, so that users can choose for themselves what they prefer. OTOH, on doze this suggestion makes some sense. I'd rather FreeType do these by default, unless overriden by the user... (In reply to comment #1) > Whether to honour the gasp suggestion and disable either antialiasing or > the bytecode interpreter at any given sizes should not be cairo's choice > but rather should be specified in the fontconfig settings, so that users > can choose for themselves what they prefer. > > OTOH, on doze this suggestion makes some sense. > The gasp table isn't a suggestion, it's a requirement. Fonts render incorrectly if the gasp table isn't followed. As an end user, I would prefer my fonts to render correctly instead of incorrectly. If you're suggesting that I should configure this manually in some fontconfig XML file for each font individually, I'm going to state right here that you are completely wrong. (In reply to comment #3) > As an end user, I would prefer my fonts to render correctly instead of > incorrectly. In any case there should be a way to override the font's gasp table. I personally favour seeing the few badly antialiased glyphs than seeing them all as bitmapped. (In reply to comment #4) > (In reply to comment #3) > > As an end user, I would prefer my fonts to render correctly instead of > > incorrectly. > > In any case there should be a way to override the font's gasp table. I > personally favour seeing the few badly antialiased glyphs than seeing them all > as bitmapped. > Antialiasing the font anyway but lying to the bytecode about whether the AA is being performed might be an interesting exercise. That can't be done at the cairo level, though. Created attachment 48403 [details]
Verdana Bold 15 pt, rendered correctly
Created attachment 48404 [details]
Verdana Bold 15 pt, rendered incorrectly
Pay attention to the extra-fat N, V and W glyphs, as well as the subtle changes to the K, %, and many others.
-- 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/262. |
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.