sw/qa/extras/uiwriter/data/tdf133967.odt |binary
 1 file changed

New commits:
commit c56fe85851f9a4acb312f71cacbc56c56f983516
Author:     Miklos Vajna <[email protected]>
AuthorDate: Fri Jul 19 13:23:47 2024 +0200
Commit:     Caolán McNamara <[email protected]>
CommitDate: Fri Dec 6 15:05:38 2024 +0100

    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.
    
    (cherry picked from commit cb3ab04adaed834341f6324c7e77f46f56f1f049)
    
    Change-Id: I0cf40c0cdbbb5c1e894468371ea260f0d15a3e40
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177967
    Reviewed-by: Caolán McNamara <[email protected]>
    Tested-by: Jenkins CollaboraOffice <[email protected]>

diff --git a/sw/qa/extras/uiwriter/data/tdf133967.odt 
b/sw/qa/extras/uiwriter/data/tdf133967.odt
index 18ed5bfb7844..15e6dcfe5095 100644
Binary files a/sw/qa/extras/uiwriter/data/tdf133967.odt and 
b/sw/qa/extras/uiwriter/data/tdf133967.odt differ

Reply via email to