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 I think this is the wrong place to check for use_gui, this should rather be done in the font loader. Georg