r24997 by craig - Exclude fontconfig on windows from about window

scribus-commit scribus-commit at lists.scribus.net
Mon Mar 7 21:49:18 UTC 2022


Author: craig
Date: Mon Mar  7 21:49:18 2022
New Revision: 24997

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=24997
Log:
Exclude fontconfig on windows from about window

Modified:
    trunk/Scribus/scribus/ui/about.cpp

Modified: trunk/Scribus/scribus/ui/about.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24997&path=/trunk/Scribus/scribus/ui/about.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/about.cpp	(original)
+++ trunk/Scribus/scribus/ui/about.cpp	Mon Mar  7 21:49:18 2022
@@ -34,7 +34,9 @@
 #include <boost/version.hpp>
 #endif
 #include <cairo.h>
+#ifdef HAVE_FONTCONFIG
 #include <fontconfig/fontconfig.h>
+#endif
 #include <harfbuzz/hb.h>
 #include <lcms2.h>
 #ifdef HAVE_PODOFO
@@ -688,8 +690,10 @@
 #endif
 	buildText.append(tr("cairo: %1").arg(CAIRO_VERSION_STRING));
 	buildText.append("<br>");
+#ifdef HAVE_FONTCONFIG
 	buildText.append(tr("fontconfig: %1").arg(FcGetVersion()));
 	buildText.append("<br>");
+#endif
 	buildText.append(tr("harfbuzz: %1").arg(HB_VERSION_STRING));
 	buildText.append("<br>");
 //note this is detected from cmake  at build time




More information about the scribus-commit mailing list