+2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
+
+ * FontLoader.C (available): Check if font is available without
+ loading the font.
+
2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
* lyxrc.[Ch]: added display_graphics variable and associated code.
{
if (!lyxrc.use_gui)
return false;
- load(f.family(), f.series(), f.realShape(), f.size());
+
+ if (!fontinfo[f.family()][f.series()][f.realShape()])
+ getFontinfo(f.family(), f.series(), f.realShape());
return fontinfo[f.family()][f.series()][f.realShape()]
->getFontname(f.size()).size();
}