summaryrefslogtreecommitdiff
path: root/poppler/GfxFont.h
diff options
context:
space:
mode:
Diffstat (limited to 'poppler/GfxFont.h')
-rw-r--r--poppler/GfxFont.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/poppler/GfxFont.h b/poppler/GfxFont.h
index 15d1b9ae..80612ef6 100644
--- a/poppler/GfxFont.h
+++ b/poppler/GfxFont.h
@@ -115,6 +115,9 @@ public:
GBool isOk() { return ok; }
+ void incRefCnt();
+ void decRefCnt();
+
// Get font tag.
GooString *getTag() { return tag; }
@@ -215,6 +218,7 @@ protected:
double missingWidth; // "default" width
double ascent; // max height above baseline
double descent; // max depth below baseline
+ int refCnt;
GBool ok;
};