Displaying 3 results from an estimated 3 matches for "xtextextents".
2000 May 22
1
RE:bug 548 graphics '*' (PR#549)
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
string descent.
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,...
2000 May 22
0
RE:bug 548 graphics '*' (PR#549)
...vice 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
> > string descent.
> >
> > 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 seriou...
1998 Oct 28
1
Request for help with compiling R on a DEC Alpha
...Pointer
XRefreshKeyboardMapping
XSetBackground
XSetForeground
XUnmapSubwindows
XUnmapWindow
XLookupString
XSetStandardProperties
XCreateImage
XGetSubImage
XGetAtomName
XCreatePixmap
XCopyGC
XFree
XFreePixmap
XGetFontProperty
XGetGCValues
XPutImage
XSetFillStyle
XSetFunction
XSetStipple
XSetTSOrigin
XTextExtents
d_sign
d_lg10
make[3]: *** [R.binary] Error 1
make[3]: Leaving directory `/usr/local/src/R-0.62.3/src/main'
make[2]: *** [build] Error 2
make[2]: Leaving directory `/usr/local/src/R-0.62.3/src'
make[1]: *** [R] Error 2
make[1]: Leaving directory `/usr/local/src/R-0.62.3'
make: *** [all]...