/// Updates font settings according to request
void Font::update(Font const & newfont,
/// Updates font settings according to request
void Font::update(Font const & newfont,
bool toggleall)
{
bits_.update(newfont.fontInfo(), toggleall);
if (newfont.language() == language() && toggleall)
bool toggleall)
{
bits_.update(newfont.fontInfo(), toggleall);
if (newfont.language() == language() && toggleall)
- bool const & non_inherit_inset,
- bool const & needs_cprotection) const
+ bool non_inherit_inset,
+ bool needs_cprotection) const
string const tmp =
subst(lyxrc.language_command_local,
"$$lang", language()->babel());
string const tmp =
subst(lyxrc.language_command_local,
"$$lang", language()->babel());
bool const using_begin_end =
runparams.use_polyglossia ||
!lyxrc.language_command_end.empty();
bool const using_begin_end =
runparams.use_polyglossia ||
!lyxrc.language_command_end.empty();