Re: vertical or rotated gtk_label_new("TEXT") possible???



Hi,

Paul Davis <pbd Op Net> writes:

> >Is it possible to have gtk_label_new("TEXT")
> >be vertical or rotated???
> 
> no. X (which GDK relies on in the version of GTK+ that you are almost
> certainly using) provides no facilities for text rotation.

this is not the full truth since X11R6 does support rotated glyphs, see 
 
 http://www.faqs.org/faqs/x-faq/part7/section-45.html

> i don't know if Pango, which GTK+ 1.3/2.0 uses for text can do a
> better job on this. i have a feeling it can, but i am not sure.

while the layers below Pango probably have this feature (at least 
FreeType2 allows to specify a transformation matrix), Pango itself
has no API for rotations or other transformations.


Salut, Sven



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]