Hi I'm trying to use Xft from Self via FFI. When XftFont is opened with one of XftFontOpen* functions, those functions are passed a display argument and (from admittedly only a cursory look at the internals) XftFont is put on a list that is specific for the display that the font was opened for (XftDisplayInfo::fonts).
But then functions like XftDrawString* and XftTextExtents* still require that both display and font arguments are passed to them. If font is, as far as I can tell, is tied to the display it's opened for, why Xft requires the display argument to be passed too? What do I miss in this picture? Thanks in advance. -uwe
