diff options
author | Sarper Akdemir <sarper.akdemir.extern@allotropia.de> | 2023-10-20 12:03:25 +0300 |
---|---|---|
committer | Sarper Akdemir <sarper.akdemir.extern@allotropia.de> | 2023-10-21 22:58:39 +0200 |
commit | 676e0527d2f31556eccae314fbb12ce204f02ec7 (patch) | |
tree | aa5904d415086a7466cba73ed635ca315bb750cc /sd | |
parent | 5555562856a8bca0869a04147fbc05a1eece9193 (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
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) |