From a35655437e81350c63d6b6367099a9d34222a162 Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Thu, 27 Dec 2018 15:29:23 +0100 Subject: [PATCH] LFUN_TEXTSTYLE_UPDATE: Do not force any unspecified settings. Fixes: #11111 (yay!) --- src/Text3.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Text3.cpp b/src/Text3.cpp index b06b0f7611..7b8f2f9a2a 100644 --- a/src/Text3.cpp +++ b/src/Text3.cpp @@ -2390,7 +2390,7 @@ void Text::dispatch(Cursor & cur, FuncRequest & cmd) // Set the freefont using the contents of \param data dispatched from // the frontends and apply it at the current cursor location. case LFUN_TEXTSTYLE_UPDATE: { - Font font; + Font font(ignore_font, ignore_language); bool toggle; if (font.fromString(to_utf8(cmd.argument()), toggle)) { docstring const props = font.stateText(&bv->buffer().params(), true); -- 2.39.5