>>>>> "Andreas" == Andreas Vox <[EMAIL PROTECTED]> writes:

>>  Another solution would be to add a call to
>> qfont_loader::addFontPath in lyx_gui::init
Andreas> lyx_gui::parse_init ?

Yes.

>> bracketed in #ifdef WS_MACX, and remove the special code in
>> qfont_loader::available. This seems simpler to me.
>> 

Andreas> Simpler to understand or simpler to implement? In my view
Andreas> implementation is easy for both ways.

>> We can handle the X11 case in a second step.
>> 

Andreas> But if I remove the code from qfont_loader::available() the
Andreas> behaviour of Q_WS_X11 _will_ change. Sure you want that or
Andreas> shall I just bracket the special code in
Andreas> qfont_loader::available() with #ifdef Q_WS_X11 ?

I meant removing the code which is already in Q_WS_MACX.

Andreas> In my view it would be nicer to have these #ifdefs in
Andreas> qfont_loader.C instead of lyx_gui.C; that's why I proposed
Andreas> two functions which get called at different times.

I guess you are right. Do as you prefer.

JMarc

Reply via email to