we-dont-have-the-needed-fonts
authorDebian LibreOffice Maintainers <debian-openoffice@lists.debian.org>
Wed, 5 Jun 2024 11:30:31 +0000 (13:30 +0200)
committerRene Engelhard <rene@debian.org>
Wed, 5 Jun 2024 11:30:31 +0000 (13:30 +0200)
Gbp-Pq: Name we-dont-have-the-needed-fonts.diff

sw/qa/core/text/text.cxx

index f18c4fd531f8bcf3c8020e3604f95e8f575334be..ff72b3dbd1397aa8d97f09d057918255e80078f5 100644 (file)
@@ -9,6 +9,8 @@
 
 #include <swmodeltestbase.hxx>
 
+#include <config_fonts.h>
+
 #include <memory>
 
 #include <com/sun/star/text/BibliographyDataField.hpp>
@@ -1577,6 +1579,8 @@ CPPUNIT_TEST_FIXTURE(SwCoreTextTest, testParaUpperMarginFlyIntersect)
     CPPUNIT_ASSERT_EQUAL(521, nHeight);
 }
 
+/* needs Source Han Serif SC*/
+#if HAVE_MORE_FONTS
 CPPUNIT_TEST_FIXTURE(SwCoreTextTest, testTdf129810)
 {
     // Load the document.
@@ -1614,6 +1618,7 @@ CPPUNIT_TEST_FIXTURE(SwCoreTextTest, testTdf129810)
         }
     }
 }
+#endif
 
 CPPUNIT_TEST_FIXTURE(SwCoreTextTest, testScriptinfosurrogatePairs)
 {