[cairo] Antialiasing and round, bevelled widgets (was: Cairo developers conference call...)

Jon Smirl jonsmirl at gmail.com
Tue Oct 19 09:55:08 PDT 2004


On Tue, 19 Oct 2004 09:46:21 -0700, Keith Packard <keithp at keithp.com> wrote:
> With that transform, fills are 'off by 0.5'.  It's the age-old problem
> with centering strokes along the path, you either get pixel-aligned fills
> or pixel-aligned odd-width strokes, but you can't ever have both.  That's
> one of the reasons cairo uses a default line with of 2 units (the other
> being that 2 pixels looks a lot nicer on the screen than 1 pixel).

So then its probably not a good idea to look for odd width strokes and fix them?

Only way to fix this is in the app. It is just something that is
exposed when apps assuming pixel level rendering are now exposed to
subpixel rendering. That makes sense, the apps have always had the
problem, there was just no way to see it before.

-- 
Jon Smirl
jonsmirl at gmail.com



More information about the cairo mailing list