Am Samstag, 14. Oktober 2006 14:04 schrieb Abdelrazak Younes: > 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?
No. As I wrote, the result of this check is only used in draw() and metrics(). Therefore you will not notice any difference if you return false. Nevertheless false is the correct value to use, because the result might be used differently in the future. Georg