text and compositing

Jon Smirl <jonsmirl-/[email protected]> Fri, 23 Apr 2004 11:59:15 -0700 (PDT)
Newsgroups gmane.comp.freedesktop.xserver
Message-ID <[email protected]>
With xserver apps normally paint into a rectangluar window implemented in
something like a pbuffer. These windows are then composited onto the display.

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.

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.

=====
Jon Smirl
jonsmirl-/[email protected]


	
		
__________________________________
Do you Yahoo!?
Yahoo! Photos: High-quality 4x6 digital prints for 25ยข
http://photos.yahoo.com/ph/print_splash