diff options
author | Xisco Fauli <xiscofauli@libreoffice.org> | 2024-03-07 11:00:31 +0100 |
---|---|---|
committer | Xisco Fauli <xiscofauli@libreoffice.org> | 2024-03-07 12:28:41 +0100 |
commit | c5980ce30fada189f3ce51bea9d4e25f05c69634 (patch) | |
tree | 246717e46af07b551fe06badab06e53b1896c5fa | |
parent | 860548e23e2ae737d7bd5840f71f776b1239f997 (diff) |
CppunitTest_sw_ooxmlw14export: turn on set_non_application_font_use
Using bin/replace_string_in_zip.sh:
Replacing 'Calibri Light' with 'Noto Sans' in /home/xisco/libreoffice//sw/qa/extras/ooxmlexport/data//TextEffects_StylisticSets_CntxtAlts.docx
Replacing 'Segoe Script' with 'Noto Sans' in /home/xisco/libreoffice//sw/qa/extras/ooxmlexport/data//TextEffects_StylisticSets_CntxtAlts.docx
Change-Id: I482bfad110e546d0d9a9a0d0bbcca2c9ad63033e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164525
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
-rwxr-xr-x | bin/replace_string_in_zip.sh | 1 | ||||
-rw-r--r-- | sw/CppunitTest_sw_ooxmlw14export.mk | 4 | ||||
-rw-r--r-- | sw/qa/extras/ooxmlexport/data/TextEffects_StylisticSets_CntxtAlts.docx | bin | 11988 -> 11279 bytes |
3 files changed, 5 insertions, 0 deletions
diff --git a/bin/replace_string_in_zip.sh b/bin/replace_string_in_zip.sh index 184f37835bc7..5fcee528edc3 100755 --- a/bin/replace_string_in_zip.sh +++ b/bin/replace_string_in_zip.sh @@ -23,6 +23,7 @@ replacements["BentonSans Medium"]="Noto Sans" replacements["BentonSans"]="Noto Sans" replacements["AdvPS88D1"]="Noto Sans" replacements["NexusSansOT"]="Noto Sans" +replacements["Segoe Script"]="Noto Sans" extracted_folder=".temp_extracted" diff --git a/sw/CppunitTest_sw_ooxmlw14export.mk b/sw/CppunitTest_sw_ooxmlw14export.mk index b228ef1d0625..5d47c6ba0345 100644 --- a/sw/CppunitTest_sw_ooxmlw14export.mk +++ b/sw/CppunitTest_sw_ooxmlw14export.mk @@ -46,4 +46,8 @@ $(eval $(call gb_CppunitTest_use_rdb,sw_ooxmlw14export,services)) $(eval $(call gb_CppunitTest_use_configuration,sw_ooxmlw14export)) +ifneq ($(filter MORE_FONTS,$(BUILD_TYPE)),) +$(eval $(call gb_CppunitTest_set_non_application_font_use,sw_ooxmlw14export,abort)) +endif + # vim: set noet sw=4 ts=4: diff --git a/sw/qa/extras/ooxmlexport/data/TextEffects_StylisticSets_CntxtAlts.docx b/sw/qa/extras/ooxmlexport/data/TextEffects_StylisticSets_CntxtAlts.docx Binary files differindex 7233104764bc..b1952d41b910 100644 --- a/sw/qa/extras/ooxmlexport/data/TextEffects_StylisticSets_CntxtAlts.docx +++ b/sw/qa/extras/ooxmlexport/data/TextEffects_StylisticSets_CntxtAlts.docx |