This commit is contained in:
Juergen Spitzmueller 2022-02-16 14:24:46 +01:00
parent 1888a2ccb5
commit 6adb083384

View File

@ -326,7 +326,7 @@ static bool doInsertInset(Cursor & cur, Text * text,
if (inset_text) {
Font const & font = inset->inheritFont()
? cur.bv().textMetrics(text).displayFont(cur.pit(), cur.pos())
: buffer.params().getFont();
: bparams.getFont();
inset_text->setOuterFont(cur.bv(), font.fontInfo());
}