[cairo] Write ups on Microsoft Avalon

Owen Taylor otaylor at redhat.com
Mon May 17 04:39:04 PDT 2004


On Sun, 2004-05-16 at 23:19, Peter Dennis Bartok wrote:

> There are a few situations where the ability to 'turn off anti-aliasing'
> is required. For example, when drawing fonts smaller than a certain size,
> in order to keep it actually readable and not 'smudged' it is important.
> I'm working on Mono (SWF) and one of the sample apps I use brings this
> difference out quite strong, when I compare the output of MS with the
> output of Mono through Cairo, the Mono version is much harder to read with
> a 6pt font.
> 
> Also, for situations like drawing a Hotkey marker or an underline for
> text, anti-aliasing is really defeating the purpose, it simply will look
> off if you have a blurry line underlining the hotkey character or the text
> line.

Neither of these requires turning off AA for graphics primitives. The
first is a font-rendering layer operation, the second is just a matter
of drawing your line with the right coordinates so that it doesn't
have any partly-occupied pixels.

Regards,
						Owen

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.freedesktop.org/archives/cairo/attachments/20040517/a58c0eda/attachment.pgp


More information about the cairo mailing list