summaryrefslogtreecommitdiff
path: root/src/lib/text_content.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/text_content.cc')
-rw-r--r--src/lib/text_content.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lib/text_content.cc b/src/lib/text_content.cc
index 9c925cbcf..e91b7bcc0 100644
--- a/src/lib/text_content.cc
+++ b/src/lib/text_content.cc
@@ -664,3 +664,10 @@ TextContent::get_font(string id) const
return *iter;
}
+
+void
+TextContent::clear_fonts()
+{
+ _fonts.clear();
+}
+