[poppler] splash/SplashFontEngine.h splash/SplashFontFile.h splash/SplashFontFileID.h

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Apr 6 19:05:31 UTC 2021


 splash/SplashFontEngine.h |    3 ++-
 splash/SplashFontFile.h   |    3 ++-
 splash/SplashFontFileID.h |    4 +++-
 3 files changed, 7 insertions(+), 3 deletions(-)

New commits:
commit d7aa275b0bca86ae174e7e504dd269df2a0234cf
Author: Evangelos Foutras <evangelos at foutrelis.com>
Date:   Tue Apr 6 09:56:55 2021 +0300

    Export SplashFont* symbols used by Scribus
    
    Scribus 1.5.6.1 compiled against poppler 21.04.0 was unable to load its
    PDF importer plugin without these classes being exported by libpoppler:
    
    - SplashFontFileID
    - SplashFontEngine
    - SplashFontSrc

diff --git a/splash/SplashFontEngine.h b/splash/SplashFontEngine.h
index becc0d9c..3e5458c0 100644
--- a/splash/SplashFontEngine.h
+++ b/splash/SplashFontEngine.h
@@ -30,6 +30,7 @@
 #include <array>
 
 #include "SplashTypes.h"
+#include "poppler_private_export.h"
 
 class SplashT1FontEngine;
 class SplashFTFontEngine;
@@ -44,7 +45,7 @@ class SplashFontSrc;
 // SplashFontEngine
 //------------------------------------------------------------------------
 
-class SplashFontEngine
+class POPPLER_PRIVATE_EXPORT SplashFontEngine
 {
 public:
     // Create a font engine.
diff --git a/splash/SplashFontFile.h b/splash/SplashFontFile.h
index 598fd832..539bd307 100644
--- a/splash/SplashFontFile.h
+++ b/splash/SplashFontFile.h
@@ -23,6 +23,7 @@
 #define SPLASHFONTFILE_H
 
 #include "SplashTypes.h"
+#include "poppler_private_export.h"
 
 class GooString;
 class SplashFontEngine;
@@ -33,7 +34,7 @@ class SplashFontFileID;
 // SplashFontFile
 //------------------------------------------------------------------------
 
-class SplashFontSrc
+class POPPLER_PRIVATE_EXPORT SplashFontSrc
 {
 public:
     SplashFontSrc();
diff --git a/splash/SplashFontFileID.h b/splash/SplashFontFileID.h
index 02b528aa..c127dd87 100644
--- a/splash/SplashFontFileID.h
+++ b/splash/SplashFontFileID.h
@@ -21,11 +21,13 @@
 #ifndef SPLASHFONTFILEID_H
 #define SPLASHFONTFILEID_H
 
+#include "poppler_private_export.h"
+
 //------------------------------------------------------------------------
 // SplashFontFileID
 //------------------------------------------------------------------------
 
-class SplashFontFileID
+class POPPLER_PRIVATE_EXPORT SplashFontFileID
 {
 public:
     SplashFontFileID();


More information about the poppler mailing list