Commit 71260f98 authored by Albert Astals Cid's avatar Albert Astals Cid

xpdf303: GfxFontLoc implementation

parent 58643013
......@@ -137,6 +137,26 @@ static int parseCharName(char *charName, Unicode *uBuf, int uLen,
GBool names, GBool ligatures,
GBool numeric, GBool hex, GBool variants);
//------------------------------------------------------------------------
// GfxFontLoc
//------------------------------------------------------------------------
GfxFontLoc::GfxFontLoc() {
path = NULL;
fontNum = 0;
encoding = NULL;
substIdx = -1;
}
GfxFontLoc::~GfxFontLoc() {
if (path) {
delete path;
}
if (encoding) {
delete encoding;
}
}
//------------------------------------------------------------------------
// GfxFont
//------------------------------------------------------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment