[cairo] Userfont hinting
Behdad Esfahbod
behdad at behdad.org
Mon May 5 00:29:49 PDT 2008
On Sat, 2008-05-03 at 18:23 +0100, Peter Clifton wrote:
>
> x3 = 21.5;
> y3 = 0;
> cairo_device_to_user (cr, &x3, &y3);
> metrics->x_advance = x3;
> metrics->y_advance = y3;
This is very wrong and breaks badly for rotated text. But anyway, you
*are* setting to a half integer.
Lemme back up a bit. Can you please succinctly summarize what you are
trying to achieve, and what doesn't work?
--
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