diff options
Diffstat (limited to 'tools/mcufontencoder/src/datafile.hh')
-rw-r--r-- | tools/mcufontencoder/src/datafile.hh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/mcufontencoder/src/datafile.hh b/tools/mcufontencoder/src/datafile.hh index 460e6039..b5e1d538 100644 --- a/tools/mcufontencoder/src/datafile.hh +++ b/tools/mcufontencoder/src/datafile.hh @@ -51,6 +51,8 @@ public: DataFile(const std::vector<dictentry_t> &dictionary, const std::vector<glyphentry_t> &glyphs, const fontinfo_t &fontinfo); + + inline DataFile * clone() const { return new DataFile(GetDictionary(), GetGlyphTable(), GetFontInfo()); } // Save to a file (custom format) void Save(std::ostream &file) const; |