summaryrefslogtreecommitdiff
path: root/Build/source/libs/poppler/poppler-src/poppler/GfxFont.h
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/libs/poppler/poppler-src/poppler/GfxFont.h')
-rw-r--r--Build/source/libs/poppler/poppler-src/poppler/GfxFont.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/Build/source/libs/poppler/poppler-src/poppler/GfxFont.h b/Build/source/libs/poppler/poppler-src/poppler/GfxFont.h
index de7a74641f8..85bdea13785 100644
--- a/Build/source/libs/poppler/poppler-src/poppler/GfxFont.h
+++ b/Build/source/libs/poppler/poppler-src/poppler/GfxFont.h
@@ -322,15 +322,15 @@ public:
Gfx8BitFont(XRef *xref, const char *tagA, Ref idA, GooString *nameA,
GfxFontType typeA, Ref embFontIDA, Dict *fontDict);
- int getNextChar(char *s, int len, CharCode *code,
+ virtual int getNextChar(char *s, int len, CharCode *code,
Unicode **u, int *uLen,
- double *dx, double *dy, double *ox, double *oy) override;
+ double *dx, double *dy, double *ox, double *oy);
// Return the encoding.
char **getEncoding() { return enc; }
// Return the Unicode map.
- CharCodeToUnicode *getToUnicode() override;
+ CharCodeToUnicode *getToUnicode();
// Return the character name associated with <code>.
char *getCharName(int code) { return enc[code]; }
@@ -358,7 +358,7 @@ public:
Dict *getResources();
private:
- ~Gfx8BitFont();
+ virtual ~Gfx8BitFont();
const Base14FontMapEntry *base14; // for Base-14 fonts only; NULL otherwise
char *enc[256]; // char code --> char name
@@ -384,17 +384,17 @@ public:
GfxCIDFont(XRef *xref, const char *tagA, Ref idA, GooString *nameA,
GfxFontType typeA, Ref embFontIDA, Dict *fontDict);
- GBool isCIDFont() override { return gTrue; }
+ virtual GBool isCIDFont() { return gTrue; }
- int getNextChar(char *s, int len, CharCode *code,
+ virtual int getNextChar(char *s, int len, CharCode *code,
Unicode **u, int *uLen,
- double *dx, double *dy, double *ox, double *oy) override;
+ double *dx, double *dy, double *ox, double *oy);
// Return the writing mode (0=horizontal, 1=vertical).
- int getWMode() override;
+ virtual int getWMode();
// Return the Unicode map.
- CharCodeToUnicode *getToUnicode() override;
+ CharCodeToUnicode *getToUnicode();
// Get the collection name (<registry>-<ordering>).
GooString *getCollection();
@@ -409,7 +409,7 @@ public:
double getWidth(char* s, int len);
private:
- ~GfxCIDFont();
+ virtual ~GfxCIDFont();
int mapCodeToGID(FoFiTrueType *ff, int cmapi,
Unicode unicode, GBool wmode);