Rotating antialiased strings

"Alex Pavloff" <[email protected]>
Newsgroups gmane.comp.scigraphica.gtkextra,gmane.comp.gnome.lib.gtk+.devel.apps
Message-ID <662C51BFF387D9459C4281CD9A3F9D636B1C@tiber.internal.esatechnology.com>
Hi Folks,

I've been working on taking gtkextra-2.0, reducing it to the bare
minimum of 2d plotting functionality, and replacing all the postscript
font stuff with Pango.   Most all of the work was just editing
Makefiles, with a few modifications here and there to remove all the
postscript stuff.  

However, I think there's one thing that just won't work when using
pango, and that's rotated text.  The GtkPlot axis labels are done by
manually writing a bitmap, rotating that, and then masking it on top of
the existing image.  This method doesn't work for antialiased fonts,
because you need more colordepth to do the antialiasing.

So is there anyway to rotate PangoLayouts?  Or is there a way to draw a
PangoLayout as a pixmap mask?  Or am I stuck with plain old horizontal
text?

Thanks for any suggestions.

Alex Pavloff - [email protected]
ESA Technology ---- www.esatechnology.com
------- Linux-based industrial HMI ------
-------- www.esatechnology.com/5k -------


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.