Re: text and compositing
Keith Packard <[email protected]> Fri, 23 Apr 2004 12:39:18 -0700
| Newsgroups | gmane.comp.freedesktop.xserver |
|---|---|
| Message-ID | <[email protected]> |
Around 11 o'clock on Apr 23, Jon Smirl wrote: > Suppose xserver is transforming my app window into a trapezoid or some > other odd shape. Does my app paint into the pbuffer and then xserver > applies the transform, or does xserver apply the transform while my app is > painting into the pbuffer? The second case would yield a non-rectangluar > image which would be framed by a transparent area. X protocol semantics require that the pbuffer be drawn with an identity transform; the results of core rendering are exactly specified and visible (through GetImage). > This makes a different in font generation. In the first case the app puts the > bitmap of the font into the pbuffer and then the pbuffer is transformed. This > distorts the font. In the second case the font could be generated with the > correct aliasing for the transformed buffer. Yup. Transformed applications using X rendering requests are going to look sloppy on the screen. We'll obviously want to build some migration mechanism to move rendering to a system which isn't tied to the X pixel coordinate space. I'm hoping that we'll be able to push the transformation into the application through cairo/GL and make things look sharp and clean. -keith _______________________________________________ xserver mailing list [email protected] http://freedesktop.org/mailman/listinfo/xserver
signature.asc
(application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Exmh version 2.3.1 11/28/2001 iD8DBQFAiXDmQp8BWwlsTdMRAiBLAJ9ZSYeZMAEBGpeXd9swYpUDddaX/gCeM4MY vq7kQfQpd1a8AtvTKfnLXBI= =CxPI -----END PGP SIGNATURE-----