On Tue, 04 Sep 2007 21:31:07 +0100
Luis Rodrigues <[EMAIL PROTECTED]> wrote:

> Hello,
> 
> I was going to implement rotating text on GTK2 but just noticed that
> pango_font_description_set_gravity, PangoGravity, etc are not defined
> on FreePascal Pango bindings.
> 
> I tried to find on GTK website and on FPC
> (http://www.freepascal.org/packages/gtk.html) but had no luke :(
> 
> Is anyone actively working on that?

No.

See lcl/interfaces/gtk2/gtk2winapi.inc
TGtk2WidgetSet.CreateFontIndirectEx for lfEscapement.

AFAIK rotating text needs pango 1.16, which is quite new and not all
linux distributions contain it yet.
So the gtk2 interface must check the pango version and then dynamically
load the needed function.


Mattias

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to