|
@@ -51,6 +51,8 @@ public:
|
51
|
51
|
DataFile(const std::vector<dictentry_t> &dictionary,
|
52
|
52
|
const std::vector<glyphentry_t> &glyphs,
|
53
|
53
|
const fontinfo_t &fontinfo);
|
|
54
|
+
|
|
55
|
+ inline DataFile * clone() const { return new DataFile(GetDictionary(), GetGlyphTable(), GetFontInfo()); }
|
54
|
56
|
|
55
|
57
|
// Save to a file (custom format)
|
56
|
58
|
void Save(std::ostream &file) const;
|