poppler/GfxFont.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
New commits: commit 23685aab67b28b6158bce27628fe6fc58adaec1c Author: Albert Astals Cid <[email protected]> Date: Thu Nov 28 00:52:25 2019 +0100 Make GfxFont constructor protected You're not supposed to create a GfxFont by itself diff --git a/poppler/GfxFont.h b/poppler/GfxFont.h index 42c462e7..0af943a6 100644 --- a/poppler/GfxFont.h +++ b/poppler/GfxFont.h @@ -173,9 +173,6 @@ public: // Build a GfxFont object. static GfxFont *makeFont(XRef *xref, const char *tagA, Ref idA, Dict *fontDict); - GfxFont(const char *tagA, Ref idA, const GooString *nameA, - GfxFontType typeA, Ref embFontIDA); - GfxFont(const GfxFont &) = delete; GfxFont& operator=(const GfxFont &other) = delete; @@ -285,6 +282,7 @@ public: static const char *getAlternateName(const char *name); protected: + GfxFont(const char *tagA, Ref idA, const GooString *nameA, GfxFontType typeA, Ref embFontIDA); virtual ~GfxFont(); _______________________________________________ poppler mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/poppler
