Commit 7ba52a32 authored by Carlos Garcia Campos's avatar Carlos Garcia Campos

[cairo] Remove unused 'face' from CairoFreeTypeFont class

parent 7c3140c8
......@@ -347,7 +347,6 @@ _ft_new_face (FT_Library lib,
CairoFreeTypeFont::CairoFreeTypeFont(Ref ref,
cairo_font_face_t *cairo_font_face,
FT_Face face,
Gushort *codeToGID,
int codeToGIDLen,
GBool substitute) : CairoFont(ref,
......@@ -355,8 +354,7 @@ CairoFreeTypeFont::CairoFreeTypeFont(Ref ref,
codeToGID,
codeToGIDLen,
substitute,
gTrue),
face(face) { }
gTrue) { }
CairoFreeTypeFont::~CairoFreeTypeFont() { }
......@@ -534,7 +532,7 @@ CairoFreeTypeFont *CairoFreeTypeFont::create(GfxFont *gfxFont, XRef *xref,
}
return new CairoFreeTypeFont(ref,
font_face, face,
font_face,
codeToGID, codeToGIDLen,
substitute);
......
......@@ -75,9 +75,8 @@ public:
virtual ~CairoFreeTypeFont();
private:
CairoFreeTypeFont(Ref ref, cairo_font_face_t *cairo_font_face, FT_Face face,
CairoFreeTypeFont(Ref ref, cairo_font_face_t *cairo_font_face,
Gushort *codeToGID, int codeToGIDLen, GBool substitute);
FT_Face face;
};
//------------------------------------------------------------------------
......
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