diff options
author | Sarper Akdemir <sarper.akdemir.extern@allotropia.de> | 2023-10-20 12:03:25 +0300 |
---|---|---|
committer | Xisco Fauli <xiscofauli@libreoffice.org> | 2023-10-23 11:56:42 +0200 |
commit | 4210745f5045958f36dac1c71be7eac3b9cc3f13 (patch) | |
tree | 261e1ae7f9637e911e808031ef8d29081fc75b61 /sd | |
parent | 3eb06d4708c79726607ad1ec4554b8f7cd66bbb2 (diff) |
use Liberation Sans instead of Calibri in the test for tdf#144092
based on Stephan Bergmann's point on:
<https://gerrit.libreoffice.org/c/core/+/138652/comment/bb5fc1a4_75e060c9/>
the font used in the test file was Calibri, which likely was
being replaced with the best approximation on a given system.
Changed that to Liberation Sans which is a font that is bundled
with LibreOffice to improve the test's robustness.
Change-Id: I7ff75baeb9259dea244913ca9d5025948291f1e2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158234
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Jenkins
(cherry picked from commit 676e0527d2f31556eccae314fbb12ce204f02ec7)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158277
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'sd')
-rw-r--r-- | sd/qa/unit/data/pptx/tdf144092-tableHeight.pptx | bin | 34887 -> 33114 bytes | |||
-rw-r--r-- | sd/qa/unit/import-tests2.cxx | 4 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sd/qa/unit/data/pptx/tdf144092-tableHeight.pptx b/sd/qa/unit/data/pptx/tdf144092-tableHeight.pptx Binary files differindex c597abf9a620..949a0561b25c 100644 --- a/sd/qa/unit/data/pptx/tdf144092-tableHeight.pptx +++ b/sd/qa/unit/data/pptx/tdf144092-tableHeight.pptx diff --git a/sd/qa/unit/import-tests2.cxx b/sd/qa/unit/import-tests2.cxx index 525177ba44da..0ca3513ae00c 100644 --- a/sd/qa/unit/import-tests2.cxx +++ b/sd/qa/unit/import-tests2.cxx @@ -1771,10 +1771,10 @@ CPPUNIT_TEST_FIXTURE(SdImportTest2, testTdf144092TableHeight) uno::Reference<drawing::XShape> xTableShape(getShapeFromPage(0, 0), uno::UNO_QUERY); // Without the accompanying fix in place, this test would have failed with: - // - Expected: 7208 + // - Expected: 7606 // - Actual : 4595 // i.e. the table height wasn't corrected by expanding less than minimum sized rows. - CPPUNIT_ASSERT_EQUAL(sal_Int32(7208), xTableShape->getSize().Height); + CPPUNIT_ASSERT_EQUAL(sal_Int32(7606), xTableShape->getSize().Height); } CPPUNIT_TEST_FIXTURE(SdImportTest2, testTdf89928BlackWhiteThreshold) |