[cairo] _cairo_lround (and effects on positioning of text)

Behdad Esfahbod behdad at behdad.org
Wed Nov 22 16:22:47 PST 2006


On Wed, 2006-11-22 at 16:18 -0800, Carl Worth wrote:
> On Wed, 22 Nov 2006 19:12:30 -0500, Behdad Esfahbod wrote:
> > I'm all for "undefined rounding".
> 
> Perfect. Given that the pango maintainer is happy with it, then I'll
> go ahead and land this stuff now.

Yeah.  If someone doesn't ask for metrics hinting for display, that's
their fault.  With metrics hinting enabled, rounding in cairo doesn't
matter much.  Pango isn't (ignoring bugs) generating non-pixel-aligned
glyph coordinates.

> -Carl
-- 
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