diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2024-07-19 13:23:47 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2024-07-19 14:37:57 +0200 |
commit | cb3ab04adaed834341f6324c7e77f46f56f1f049 (patch) | |
tree | cf3fd42e976a8a28465baa419ef854c5ecfdefb2 | |
parent | ed984edae683d82132af6b12e1328a8e3cd67c93 (diff) |
CppunitTest_sw_uiwriter3: avoid font fallback in testTdf133967
I'm not sure when this started, but the testcase fails with:
- Expected: 6
- Actual : 7
I.e. the initial page count is meant to be more than 1, but we
explicitly assert that page count.
Once gb_CppunitTest_set_non_application_font_use is set to abort for
this suite, then vcl says the font fallback is:
vcl/unx/generic/fontmanager/fontconfig.cxx:1195: PrintFontManager::Substitute: missing font: 'Albany' try: Liberation Sans instead
Do that replacement, that restores the 6 pages on load even in cases
where it was 7 previously.
Change-Id: I0cf40c0cdbbb5c1e894468371ea260f0d15a3e40
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170759
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
-rw-r--r-- | sw/qa/extras/uiwriter/data/tdf133967.odt | bin | 16689 -> 16696 bytes |
1 files changed, 0 insertions, 0 deletions
diff --git a/sw/qa/extras/uiwriter/data/tdf133967.odt b/sw/qa/extras/uiwriter/data/tdf133967.odt Binary files differindex 18ed5bfb7844..15e6dcfe5095 100644 --- a/sw/qa/extras/uiwriter/data/tdf133967.odt +++ b/sw/qa/extras/uiwriter/data/tdf133967.odt |