GNOME Bugzilla – Bug 99468
Support rotated text
Last modified: 2004-12-22 21:47:04 UTC
Pango should support rotate text. I think Xft2 supports it? At least it could easily be done with a matrix with Xft2, I dont know about the other back-ends. It would be much nicer for Tabbed layouts where the tabs are on the side... Any chance this will ever be done?
The plan for rotated text is that it is more or less just an option for rendering ... the coordinate system for PangoLayout is always conceptually "More or less" - you do actually need to indicate the rotation angle when laying out the text because the metrics will be different because of hinting. The main blocker for supporting rotated text is that we really can't do it until we ditch support for the X backend of Pango, since it's just too messy to worry about for the core X protocol. The more interesting related question is handling vertical writing directions; I just copied the text from TODO.xml about this into bug 99523
Some support was in 1.6, full support is in CVS now, will be in Pango-1.8. (GTK+ support is also in CVS and scheduled for GTK+-2.6)