Handle fontenc in InsetQuotes::updateBuffer

This commit is contained in:
Juergen Spitzmueller 2016-12-21 12:29:32 +01:00
parent 764efb149d
commit 9aec8fd5e8

View File

@ -504,6 +504,7 @@ void InsetQuotes::updateBuffer(ParIterator const & it, UpdateType /* utype*/)
BufferParams const & bp = buffer().masterBuffer()->params();
pass_thru_ = it.paragraph().isPassThru();
context_lang_ = it.paragraph().getFontSettings(bp, it.pos()).language()->code();
fontenc_ = (bp.fontenc == "global") ? lyxrc.fontenc : bp.fontenc;
}