summaryrefslogtreecommitdiffstats
path: root/src/sp-text.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sp-text.cpp')
-rw-r--r--src/sp-text.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/sp-text.cpp b/src/sp-text.cpp
index b066ca3de..2a88c5009 100644
--- a/src/sp-text.cpp
+++ b/src/sp-text.cpp
@@ -620,12 +620,16 @@ void SPText::rebuildLayout()
if (SP_IS_TEXTPATH(&child)) {
SPTextPath const *textpath = SP_TEXTPATH(&child);
if (textpath->originalPath != NULL) {
- //g_print("%s", layout.dumpAsText().c_str());
+#if DEBUG_TEXTLAYOUT_DUMPASTEXT
+ g_print("%s", layout.dumpAsText().c_str());
+#endif
layout.fitToPathAlign(textpath->startOffset, *textpath->originalPath);
}
}
}
- //g_print("%s", layout.dumpAsText().c_str());
+#if DEBUG_TEXTLAYOUT_DUMPASTEXT
+ g_print("%s", layout.dumpAsText().c_str());
+#endif
// set the x,y attributes on role:line spans
for (auto& child: children) {