Georg Baum wrote:
Am Samstag, 14. Oktober 2006 13:46 schrieb Abdelrazak Younes:
Georg Baum wrote:
It was used for requirements like ams. The second part of the patch is definitely right, the first one is wrong, since the fonts are only used for drawing and metrics.
I don't understand. That's exactly what the first part of the patch is doing: avoid the font searching in case when lyx::use_gui=false. So one part cannot go with the other.

The problem is that it also lies: It says that the fonts are available, but they are not. If you simply want to skip the searching, return false,

But if I do that, won't this affect the proper export of the math formulas?

but I think this is the wrong place to check for use_gui, this should rather be done in the font loader.

I agree but now FontLoader is an Application member. This is the very reason why I wanted to create this console frontend. Once we have that, all lyx::use_gui test can go (except in lyx_main and lyx_cb that is).

Abdel.

Reply via email to