On 2011-03-17 13:52, Chris wrote: > I've had a look at freetype, but it seems like overkill for what I > need and also a dependency I'm not sure I can "afford" (and it seems > that then I also need fontconfig). So this is a last resort for me.
You want to use ciaro/pango/fontconfig/freetype for this, rather than re-inventing the wheel. > So, can I do it in Xlib without writing the complete matric algebra > by myself (if so, where can I find an example/manual/tutorial), If you really really want to use as few libraries as possible, you could draw your text onto a pixmap, then rotate it to your window using XRenderSetPictureTransform and XRenderComposite. http://cgit.freedesktop.org/xorg/proto/renderproto/tree/renderproto.txt#n705 http://cgit.freedesktop.org/xorg/lib/libXrender/tree/include/X11/extensions/Xrender.h#n267 Peter Harris -- Open Text Connectivity Solutions Group Peter Harris http://connectivity.opentext.com/ Research and Development Phone: +1 905 762 6001 [email protected] Toll Free: 1 877 359 4866 _______________________________________________ [email protected]: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: [email protected]
