Am Freitag, dem 15.09.2023 um 16:23 +0200 schrieb Jürgen Spitzmüller: > Am Freitag, dem 15.09.2023 um 15:41 +0200 schrieb Thibaut Cuvelier: > > Your patch looks fine to me. > > > > It looks cumbersome, especially if we need to do that several > > times; > > maybe we could have a method at the inset level, say > > getLocalFontOrDefault(const OutputParams&), to return either > > OutputParams::local_font if it exists or buffer().params() > > otherwise? > > It would make correct code (much) easier to write. > > I agree. Do you want to do that?
Did it. -- Jürgen -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel