forgot this in previous revision.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37568 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2011-02-09 08:25:24 +00:00
parent 5a2121f77e
commit ff13ada543

View File

@ -2624,7 +2624,7 @@ string const BufferParams::loadFonts(string const & rm,
* -- if there's a way to find out if a font really supports
* OldStyle, enable/disable the widget accordingly.
*/
if (use_systemfonts) {
if (use_systemfonts && features.isAvailable("fontspec")) {
// "Mapping=tex-text" and "Ligatures=TeX" are equivalent.
// However, until v.2 (2010/07/11) fontspec only knew
// Mapping=tex-text (for XeTeX only); then "Ligatures=TeX"