From ff13ada543afb114df338f4d107fdca16d549e07 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=BCrgen=20Spitzm=C3=BCller?= Date: Wed, 9 Feb 2011 08:25:24 +0000 Subject: [PATCH] forgot this in previous revision. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37568 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/BufferParams.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BufferParams.cpp b/src/BufferParams.cpp index 788a6f93a5..35bf6111a9 100644 --- a/src/BufferParams.cpp +++ b/src/BufferParams.cpp @@ -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" -- 2.39.2