>>>>> "Andreas" == Andreas Vox <[EMAIL PROTECTED]> writes:
Andreas> Only circumstantial docs; you will love this: The docs to Andreas> QFontDatabase have an example program which starts [...] Andreas> and then never uses app again. When I added this code, which Andreas> lists all available font families, at the end of Andreas> addFontPath(), the symbol fonts didn't show up. This is with Qt/Mac, right? Andreas> What about having three functions: Andreas> // called before QApplication is initialized, friend to Andreas> lyx_gui void addFontPathEarly() // called when available() is Andreas> first called, private void addFontPathJustInTime() // Could Andreas> be used in the future if the fontpath should change during Andreas> runtime, public void addFontPathLate() Andreas> If noone shouts I will provide a patch which implements the Andreas> first to funtions, deferring the third until we need it. Another solution would be to add a call to qfont_loader::addFontPath in lyx_gui::init bracketed in #ifdef WS_MACX, and remove the special code in qfont_loader::available. This seems simpler to me. We can handle the X11 case in a second step. JMarc
