On Tue, 2004-09-21 at 11:14 +0200, RÃmi Lafage wrote: > Hi, > > I use XFLD font rotation (example : "-*-helvetica-medium-r-normal-*-[0 > 30 ~30 0]-*-*-*-*-*-*-*") to display rotated text with GTK+1.2. > I upgrade to GTK+2.0. > My code using deprecated gdk_font_load() is still working with GTK+2.0, > but it fails with GTK+2.2. > By reading release notes, I saw the font rendering has changed > but I can not figure out to make it work with GTK+2.2. > > How to load an XFLD font with GTK+2.2? Code example?
You can't. > I read that font rotation will be supported in GTK+2.8... > Is there a better way than X server font rotation support for the moment? With Pango-1.6.0 and GTK+-2.4.x, you can do rotated text with the FT2 backend and then find one of the many available code snippets to use the FT2 backend to render to the screen. Regards, Owen
signature.asc
Description: This is a digitally signed message part
_______________________________________________ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list