we-dont-have-the-needed-fonts
authorDebian LibreOffice Maintainers <debian-openoffice@lists.debian.org>
Wed, 13 Aug 2025 20:27:02 +0000 (22:27 +0200)
committerRene Engelhard <rene@debian.org>
Wed, 13 Aug 2025 20:27:02 +0000 (22:27 +0200)
Gbp-Pq: Name we-dont-have-the-needed-fonts.diff

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

index b81146642bd4737fa5ba3d7bba2632d8f6be10f5..070a106513d1aedba3d7f0bd4942dff239ba70f3 100644 (file)
@@ -9,6 +9,8 @@
 
 #include <swmodeltestbase.hxx>
 
+#include <config_fonts.h>
+
 #include <memory>
 
 #include <com/sun/star/text/BibliographyDataField.hpp>
@@ -1594,6 +1596,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.
@@ -1630,6 +1634,7 @@ CPPUNIT_TEST_FIXTURE(SwCoreTextTest, testTdf129810)
         }
     }
 }
+#endif
 
 CPPUNIT_TEST_FIXTURE(SwCoreTextTest, testScriptinfosurrogatePairs)
 {
index 203b9cebc1df3e20958ae281aac39227c8c41210..40212692745edf1e3a083f0924e57a6524356654 100644 (file)
Binary files a/vcl/qa/cppunit/pdfexport/pdfexport2.cxx and b/vcl/qa/cppunit/pdfexport/pdfexport2.cxx differ