summaryrefslogtreecommitdiffstats
path: root/src/sp-font.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sp-font.cpp')
-rw-r--r--src/sp-font.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sp-font.cpp b/src/sp-font.cpp
index a03890fc7..6ebbd5218 100644
--- a/src/sp-font.cpp
+++ b/src/sp-font.cpp
@@ -2,6 +2,8 @@
# include <config.h>
#endif
+#ifdef ENABLE_SVG_FONTS
+
/*
* SVG <font> element implementation
*
@@ -248,6 +250,7 @@ static Inkscape::XML::Node *sp_font_write(SPObject *object, Inkscape::XML::Docum
return repr;
}
+#endif //#ifdef ENABLE_SVG_FONTS
/*
Local Variables:
mode:c++