| Summary: | "hintstyle=hintslight" setting is ignored even if "rgba=none" | ||
|---|---|---|---|
| Product: | cairo | Reporter: | Yasuhiro Fujii <y-fujii> |
| Component: | general | Assignee: | Carl Worth <cworth> |
| Status: | RESOLVED DUPLICATE | QA Contact: | cairo-bugs mailing list <cairo-bugs> |
| Severity: | normal | ||
| Priority: | medium | CC: | brebs, pachoramos1 |
| Version: | 1.5.3 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| i915 platform: | i915 features: | ||
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.
"hintstyle" setting on fonts.conf seems to be ignored. I understand it is impossible to set "rgba=rgb" and "hintstyle=hintslight" at the same time because of freetype restriction. But even if "rgba=none", "hintstyle" setting is ignored. A patch to fix this bug: --- cairo-1.4.10/src/cairo-ft-font.c +++ cairo-1.4.10/src/cairo-ft-font.c @@@ -1404,7 +1616,7 @@ options->base.subpixel_order = other->base.subpixel_order; } - if (options->base.hint_style == CAIRO_HINT_STYLE_DEFAULT) + if (other->base.hint_style != CAIRO_HINT_STYLE_DEFAULT) options->base.hint_style = other->base.hint_style; if (other->base.hint_style == CAIRO_HINT_STYLE_NONE)