Xlib and rotated text?
walter harms
wharms at bfs.de
Fri Mar 18 01:18:35 PDT 2011
Am 17.03.2011 20:30, schrieb Peter Harris:
> 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
>
are there any man pages available ?
re,
wh
More information about the xorg
mailing list