Am Mon, 7 Feb 2022 11:49:10 +0100 schrieb Jean-Marc Lasgouttes <lasgout...@lyx.org>:
> Le 07/02/2022 à 10:32, Jürgen Spitzmüller a écrit : > > Am Montag, dem 07.02.2022 um 10:23 +0100 schrieb Jürgen Spitzmüller: > >> Some observations: The issue here is that the class has SANS family, > >> but the document sets fonts_default_family == "rmdefault". Hence, in > >> Paragraph::getLayoutFont(), d->layout_->font and outerfont have > >> family > >> INHERIT, but bparams.getFont() has ROMAN, which is what the returned > >> font gets. It should get INHERIT as well, though. > > > > So I suppose the fix is to consider fonts_default_family for the > > real_outerfont in non inheritFont() insets, like the attached. > > > > Does this look correct? > > Yes, it makes sense, I forgot about that. > > JMarc With this applied, only examples/Modules/Hazard_and_Precautionary_Statements fails. In all its variants. The following tests FAILED: 3116 - export/examples/Modules/Hazard_and_Precautionary_Statements_dvi (Failed) 3117 - export/examples/Modules/Hazard_and_Precautionary_Statements_dvi3_texF (Failed) 3119 - export/examples/Modules/Hazard_and_Precautionary_Statements_pdf (Failed) 3120 - export/examples/Modules/Hazard_and_Precautionary_Statements_pdf2 (Failed) 3121 - export/examples/Modules/Hazard_and_Precautionary_Statements_pdf3 (Failed) 3123 - export/examples/Modules/Hazard_and_Precautionary_Statements_pdf5_texF (Failed) Errors while running CTest Kornel
pgpuSmY9i0INb.pgp
Description: Digitale Signatur von OpenPGP
-- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel