XLFD rotated font and GTK+2.2




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?
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?

Thanks in advance

Remi Lafage





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