[Rd] RE:bug 548 graphics '*' (PR#549)
Mon, 22 May 2000 11:48:41 +0200 (MET DST)
A little more followup. The gtk() device uses gdk_string_width to
find the character extents. That seems undocumented anywhere in the
gtk+ sources. It is returning the maximal descent for the font for all
input strings on my system. Looking at the current gtk+-1.2.7 sources it
appears to call XTextExtents, and that _should_ give the
Since gdk fonts are private opaque structures I see no way around this.
Without any documentation I do not even know if it is a gdk bug (although
I suspect it is or was). The gdk docs in gtk+ seem seriously incomplete.
Brian D. Ripley, firstname.lastname@example.org
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272860 (secr)
Oxford OX1 3TG, UK Fax: +44 1865 272595
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: email@example.com