[cairo] METRICS_HINTING_OFF in win32 font backend

Behdad Esfahbod behdad at behdad.org
Mon Mar 12 20:07:08 PDT 2007


Hi,

Seems like the win32 font backend returns hinted font-metrics no matter
what font options are set.  This bug has code for testing:

	http://bugzilla.gnome.org/show_bug.cgi?id=377795

I suspect the second branch in _cairo_win32_scaled_font_set_metrics() is
enough to get the right metrics.  In that case, it's a one-line patch.

Can someone familiar with the win32 backend test and fix please.

Thanks.
-- 
behdad
http://behdad.org/

"Those who would give up Essential Liberty to purchase a little
 Temporary Safety, deserve neither Liberty nor Safety."
        -- Benjamin Franklin, 1759





More information about the cairo mailing list