[poppler] poppler/GfxFont.h
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Wed Nov 27 23:59:33 UTC 2019
poppler/GfxFont.h | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
New commits:
commit 23685aab67b28b6158bce27628fe6fc58adaec1c
Author: Albert Astals Cid <aacid at kde.org>
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();
More information about the poppler
mailing list