diff options
author | Rene Engelhard <rene@rene-engelhard.de> | 2023-12-09 09:30:22 +0100 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2023-12-11 10:21:53 +0100 |
commit | 2c8e0630097477cdfbcd481d27893f34a179a69e (patch) | |
tree | 159dea38e202e396aba2f046c757b41ee0f6825d /vcl | |
parent | a891585acd2dce722c2688d7738a3569859e0164 (diff) |
add missing #if MORE_FONTS
since it nededs Source Han Sans since 9b5964cf5931d7c09e4fd624d68595891c2afb58
Change-Id: I35bd30048b298e8cbdaf6de22ae2022d51415aa9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160477
Tested-by: René Engelhard <rene@debian.org>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/qa/cppunit/complextext.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
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) |