[Webkit-unassigned] [Bug 16715] [Gtk] Uneven glyph spacing with verdana font
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Jan 4 04:40:04 PST 2008
http://bugs.webkit.org/show_bug.cgi?id=16715
------- Comment #6 from sylvain.pasche at gmail.com 2008-01-04 04:40 PDT -------
Some explanations:
The scaled font needs a font_options_t object when it is created in
FontPlatformData::FontPlatformData. The parameter in this font_options_t object
should match the settings of the destination surface, like antialiasing,
hinting and others.
For retrieving these settings, we need a surface (which can be obtained from
the cairo_t object). The trouble is that we do not have the cairo_t object
available yet when the scaled font is created. If we had it at this time, we
could build the font_options object like:
cairo_surface_t* target = cairo_get_target(cr);
cairo_font_options_t* options = cairo_font_options_create();
cairo_surface_get_font_options(target, options);
...
cairo_font_options_destroy(options);
--
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list