[cairo-bugs] [Bug 11838] New: hintstyle specified in fontconfig is ignored while rgba is respected
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Aug 3 17:44:50 PDT 2007
http://bugs.freedesktop.org/show_bug.cgi?id=11838
Summary: hintstyle specified in fontconfig is ignored while rgba
is respected
Product: cairo
Version: 1.4.10
Platform: All
OS/Version: Linux (All)
Status: NEW
Severity: minor
Priority: medium
Component: freetype font backend
AssignedTo: freedesktop at behdad.org
ReportedBy: bellylin at yahoo.com.tw
QAContact: cairo-bugs at cairographics.org
cairo behaves inconsistently on hintstyle and rgba settings. If specified in
fonts.conf something like this:
<edit name="rgba" mode="assign" ><const>rgb</const><edit>
<edit name="hintstyle" mode="assign" ><const>hintfull</const></edit>
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?
--
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