hintstyle specified in fontconfig is ignored while rgba is respected sometimes
Submitted by W. Lin
Assigned to David Turner
cairo behaves inconsistently on hintstyle and rgba settings. If specified in fonts.conf something like this:
<edit name="rgba" mode="assign" >``<const>rgb
<edit name="hintstyle" mode="assign" >``<const>hintfull
cairo would respond to rgba but not to hintstyle; hintstyle can only be set via gtk( through gnome-settings-daemon).
Although i don't know how to code, but after looking at the code (several times), i commented this out in cairo-ft-font.c (in function _cairo_ft_options_merge):
if (options->base.hint_style == CAIRO_HINT_STYLE_DEFAULT)
and everything goes fine. Is this the right solution?