we-dont-have-the-needed-fonts
authorDebian LibreOffice Maintainers <debian-openoffice@lists.debian.org>
Fri, 27 Sep 2024 15:38:49 +0000 (17:38 +0200)
committerRene Engelhard <rene@debian.org>
Fri, 27 Sep 2024 15:38:49 +0000 (17:38 +0200)
Gbp-Pq: Name we-dont-have-the-needed-fonts.diff

sw/qa/core/text/text.cxx
vcl/qa/cppunit/pdfexport/pdfexport2.cxx

index 74a5c9507d38ae1b3ff911c9f3d1a4ffe18e19d8..9d67273be1c0d8c41547c72756875c314e3ca57a 100644 (file)
@@ -9,6 +9,8 @@
 
 #include <swmodeltestbase.hxx>
 
+#include <config_fonts.h>
+
 #include <memory>
 
 #include <com/sun/star/text/BibliographyDataField.hpp>
@@ -1628,6 +1630,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.
@@ -1665,6 +1669,7 @@ CPPUNIT_TEST_FIXTURE(SwCoreTextTest, testTdf129810)
         }
     }
 }
+#endif
 
 CPPUNIT_TEST_FIXTURE(SwCoreTextTest, testScriptinfosurrogatePairs)
 {
index c8527d71dd9abcac21d67eadc06cf8e65828c1df..8ac05e7294d26145ce8e63959a9e54dec2af95ac 100644 (file)
Binary files a/vcl/qa/cppunit/pdfexport/pdfexport2.cxx and b/vcl/qa/cppunit/pdfexport/pdfexport2.cxx differ