vcl/qa/cppunit/complextext.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 94d0cf4d4e308627922c4afb5e38523ea4f6af37
Author: Rene Engelhard <[email protected]>
AuthorDate: Sat Dec 9 09:30:22 2023 +0100
Commit: René Engelhard <[email protected]>
CommitDate: Sun Dec 10 09:05:54 2023 +0100
add missing #if MORE_FONTS
since it nededs Source Han Sans since
9b5964cf5931d7c09e4fd624d68595891c2afb58
Change-Id: I35bd30048b298e8cbdaf6de22ae2022d51415aa9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160512
Tested-by: Jenkins
Reviewed-by: Chris Sherlock <[email protected]>
Reviewed-by: René Engelhard <[email protected]>
diff --git a/vcl/qa/cppunit/complextext.cxx b/vcl/qa/cppunit/complextext.cxx
index 37f4fbc0766c..8a847def8763 100644
--- a/vcl/qa/cppunit/complextext.cxx
+++ b/vcl/qa/cppunit/complextext.cxx
@@ -529,6 +529,7 @@ CPPUNIT_TEST_FIXTURE(VclComplexTextTest,
testMixedCJKLatinScript_glyph_advanceme
CPPUNIT_TEST_FIXTURE(VclComplexTextTest, testTdf107718)
{
+#if HAVE_MORE_FONTS
#if !defined _WIN32 // TODO: Fails on jenkins but passes locally
vcl::Font aFont(u"Source Han Sans"_ustr, u"Regular"_ustr, Size(0, 72));
@@ -574,6 +575,7 @@ CPPUNIT_TEST_FIXTURE(VclComplexTextTest, testTdf107718)
CPPUNIT_ASSERT_EQUAL(3, nStart);
}
#endif
+#endif
}
CPPUNIT_TEST_FIXTURE(VclComplexTextTest, testTdf107612)