diff --git a/sw/CppunitTest_sw_core_theme.mk b/sw/CppunitTest_sw_core_theme.mk index 5938916bd9df..f520ac510de2 100644 --- a/sw/CppunitTest_sw_core_theme.mk +++ b/sw/CppunitTest_sw_core_theme.mk @@ -61,4 +61,8 @@ $(eval $(call gb_CppunitTest_use_vcl,sw_core_theme)) $(eval $(call gb_CppunitTest_use_rdb,sw_core_theme,services)) $(eval $(call gb_CppunitTest_use_configuration,sw_core_theme)) +ifneq ($(filter MORE_FONTS,$(BUILD_TYPE)),) +$(eval $(call gb_CppunitTest_set_non_application_font_use,sw_core_theme,abort)) +endif + # vim: set noet sw=4 ts=4: diff --git a/sw/qa/core/theme/ThemeTest.cxx b/sw/qa/core/theme/ThemeTest.cxx index 2077b1125d66..12ecc9cd6460 100644 --- a/sw/qa/core/theme/ThemeTest.cxx +++ b/sw/qa/core/theme/ThemeTest.cxx @@ -361,7 +361,7 @@ CPPUNIT_TEST_FIXTURE(SwCoreThemeTest, testDrawPageThemeExistsDOCX) CPPUNIT_ASSERT_EQUAL(Color(0xCCDDEA), pTheme->GetColor(model::ThemeColorType::Light2)); model::FontScheme const& rFontScheme = pTheme->getFontScheme(); - CPPUNIT_ASSERT_EQUAL(u"Calibri Light"_ustr, rFontScheme.getMajorLatin().maTypeface); + CPPUNIT_ASSERT_EQUAL(u"Noto Sans"_ustr, rFontScheme.getMajorLatin().maTypeface); CPPUNIT_ASSERT_EQUAL(u"Calibri"_ustr, rFontScheme.getMinorLatin().maTypeface); CPPUNIT_ASSERT_EQUAL(true, rFontScheme.getMajorAsian().maTypeface.isEmpty()); CPPUNIT_ASSERT_EQUAL(true, rFontScheme.getMinorAsian().maTypeface.isEmpty()); diff --git a/sw/qa/core/theme/data/ThemeColorInHeading.docx b/sw/qa/core/theme/data/ThemeColorInHeading.docx index e350c2676d41..b35f21b32d51 100644 Binary files a/sw/qa/core/theme/data/ThemeColorInHeading.docx and b/sw/qa/core/theme/data/ThemeColorInHeading.docx differ diff --git a/sw/qa/core/theme/data/ThemeColorInHeading.fodt b/sw/qa/core/theme/data/ThemeColorInHeading.fodt index 943a654623a0..d32f0f152f1c 100644 --- a/sw/qa/core/theme/data/ThemeColorInHeading.fodt +++ b/sw/qa/core/theme/data/ThemeColorInHeading.fodt @@ -151,7 +151,7 @@ - + @@ -200,7 +200,7 @@ - + @@ -208,7 +208,7 @@ - + @@ -216,14 +216,14 @@ - + - + @@ -388,4 +388,4 @@ This is a test document in the “Orange” theme. - \ No newline at end of file +