[cairo-bugs] [Bug 13335] New: "hintstyle=hintslight" setting is ignored even if "rgba=none"

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Nov 21 07:59:23 PST 2007


http://bugs.freedesktop.org/show_bug.cgi?id=13335

           Summary: "hintstyle=hintslight" setting is ignored even if
                    "rgba=none"
           Product: cairo
           Version: 1.5.3
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: general
        AssignedTo: cworth at cworth.org
        ReportedBy: regist at mimosa-pudica.net
         QAContact: cairo-bugs at cairographics.org


"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)


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.


More information about the cairo-bugs mailing list