Re: Vertical strings in a PixMap
- From: Havoc Pennington <hp redhat com>
- To: Colin Thomas <colin designresources co uk>
- Cc: gtk-list gnome org
- Subject: Re: Vertical strings in a PixMap
- Date: 04 May 2001 09:54:50 -0400
Colin Thomas <colin designresources co uk> writes:
>
> I would like to write a string to a pixmap, but have the string be rotated.
> i.e. vertical text.
>
> I have looked at the gdk_draw_string function, and font objects, and have
> not managed to locate a switch to control text rotation.
>
> Any hints on where I should be looking ??
>
> I look forward to your combined wisdom.
>
You are doomed, GTK just uses the underlying X string-drawing
mechanism, and X does not support this.
The only thing you can do is use some sort of client-side font
rendering, then push a big bitmap of your string onto the X
server. People sometimes use FreeType for that.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]