bin/replace_missing_fonts.sh | 3 +++ sw/CppunitTest_sw_core_header_footer.mk | 4 ++++ sw/qa/core/header_footer/data/TestFirstFooterDisabled.docx |binary sw/qa/core/header_footer/data/tdf129582.docx |binary 4 files changed, 7 insertions(+)
New commits: commit a9a02209dd23e512c80458e5441497753f98c89f Author: Noel Grandin <[email protected]> AuthorDate: Tue Jan 6 13:55:26 2026 +0200 Commit: Noel Grandin <[email protected]> CommitDate: Wed Jan 7 08:09:18 2026 +0100 CppunitTest_sw_core_header_footer: gb_CppunitTest_set_non_application_font_use Change-Id: I20583d8ac0e95c53a84553f58b32736edd27355a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/196617 Reviewed-by: Noel Grandin <[email protected]> Tested-by: Jenkins diff --git a/bin/replace_missing_fonts.sh b/bin/replace_missing_fonts.sh index f06e6b7a6c72..4e368b34f3ee 100755 --- a/bin/replace_missing_fonts.sh +++ b/bin/replace_missing_fonts.sh @@ -31,6 +31,9 @@ replacements["Lucida Sans Unicode"]="Noto Sans" replacements["Candara"]="Noto Sans" replacements["Verdana"]="Noto Sans" replacements["Gill Sans MT"]="Noto Sans" +replacements["Century Schoolbook"]="Noto Serif" +replacements["CG Omega"]="Noto Sans" +replacements["AvantGarde Bk BT"]="Noto Sans" extracted_folder=".temp_extracted" diff --git a/sw/CppunitTest_sw_core_header_footer.mk b/sw/CppunitTest_sw_core_header_footer.mk index 057e2aa91206..e274dea0a4fe 100644 --- a/sw/CppunitTest_sw_core_header_footer.mk +++ b/sw/CppunitTest_sw_core_header_footer.mk @@ -70,6 +70,10 @@ $(eval $(call gb_CppunitTest_use_uiconfigs,sw_core_header_footer, \ svx \ )) +ifneq ($(filter MORE_FONTS,$(BUILD_TYPE)),) +$(eval $(call gb_CppunitTest_set_non_application_font_use,sw_core_header_footer,abort)) +endif + $(eval $(call gb_CppunitTest_add_arguments,sw_core_header_footer, \ -env:arg-env=$(gb_Helper_LIBRARY_PATH_VAR)"$$$${$(gb_Helper_LIBRARY_PATH_VAR)+=$$$$$(gb_Helper_LIBRARY_PATH_VAR)}" \ )) diff --git a/sw/qa/core/header_footer/data/TestFirstFooterDisabled.docx b/sw/qa/core/header_footer/data/TestFirstFooterDisabled.docx index 2fe9a176689b..29298c901c26 100644 Binary files a/sw/qa/core/header_footer/data/TestFirstFooterDisabled.docx and b/sw/qa/core/header_footer/data/TestFirstFooterDisabled.docx differ diff --git a/sw/qa/core/header_footer/data/tdf129582.docx b/sw/qa/core/header_footer/data/tdf129582.docx index d160262ae745..41b5a6a05411 100644 Binary files a/sw/qa/core/header_footer/data/tdf129582.docx and b/sw/qa/core/header_footer/data/tdf129582.docx differ
