/**
* \file FontInfo.C
- * Copyright 1997-2002 the LyX Team
- * Read the file COPYING
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
*
* \author Asger Alstrup
- * \author John Levon <moz@compsoc.man.ac.uk>
+ * \author John Levon
+ *
+ * Full author contact details are available in file CREDITS
*/
#include <config.h>
scaleindex = i;
}
scalable = true;
- };
+ } else if (lyx::atoi(token(name, '-', 12)) == 0)
+ // Ignore bogus matches of scalable fonts.
+ sizes[i] = 0;
};
XFreeFontNames(list);
}