From: Jürgen Spitzmüller Date: Wed, 9 Feb 2011 08:25:24 +0000 (+0000) Subject: forgot this in previous revision. X-Git-Tag: 2.0.0~819 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=ff13ada543afb114df338f4d107fdca16d549e07;p=features.git forgot this in previous revision. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37568 a592a061-630c-0410-9148-cb99ea01b6c8 --- 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"