[cairo] Cairo + Pango
Keith Packard
keithp at keithp.com
Sat Aug 7 19:49:51 PDT 2004
Around 15 o'clock on Aug 7, Bill Spitzak wrote:
> LCD screens should be treated by Cairo exactly like they have 3x resolution
> in one direction. All transforms, etc, should be done as though this is the
> final output device. The final stage of compositing selects from the r,g,b of
> source and destination images according to x%3. The other trick is that thin
> lines are made 3 pixels wide horizontally, and the font renderer also likes
> to make things 3 pixels thick.
It's harder than that; you have to filter the output to balance color
fringing and resolution. We've demonstrated that you can effectively
sub-pixel position glyphs, but you have to respect the pixel grid when
computing stem widths, and you have to filter the output a bit.
-keith
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/cairo/attachments/20040807/9c3d2a67/attachment.pgp
More information about the cairo
mailing list