Skip to content
Prev 3862 / 63421 Next

bug 548 graphics '*' (PR#549)

On 22-May-00 ripley@stats.ox.ac.uk wrote:
The best thing that can be said about the GNOME API documentation is
that it is getting better.  Documentation on glib, gdk and gtk+ is
available from here:

http://developer.gnome.org/doc/API/

but is still quite sparse.  

This is not, in fact, a gdk bug, but is due to a permutation in
the arguments of gdk_string_extents in GTK_MetricInfo 
(file src/gnome/devGTK.c). It currently reads

    gdk_string_extents(gtkd->font, tmp,
                       &lbearing, &rbearing,
                       &iascent, &idescent, &iwidth);

but should be

    gdk_string_extents(gtkd->font, tmp,
                       &lbearing, &rbearing,
                       &iwidth, &iascent, &idescent);

See
http://developer.gnome.org/doc/API/gdk/gdk-fonts.html#GDK-STRING-EXTENTS

Martyn
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._