diff options
| author | Jabier Arraiza <jabier.arraiza@marker.es> | 2017-06-12 18:20:56 +0000 |
|---|---|---|
| committer | Jabier Arraiza <jabier.arraiza@marker.es> | 2017-06-12 18:20:56 +0000 |
| commit | 59de64ad8af1ef0527100ffe09b4e85617c3226c (patch) | |
| tree | 89ed20b19fcefb4e71578a37a235a15aa9450933 /src/sp-text.cpp | |
| parent | adding last changes (diff) | |
| parent | Small fixes to README (diff) | |
| download | inkscape-59de64ad8af1ef0527100ffe09b4e85617c3226c.tar.gz inkscape-59de64ad8af1ef0527100ffe09b4e85617c3226c.zip | |
Updating to master
Diffstat (limited to 'src/sp-text.cpp')
| -rw-r--r-- | src/sp-text.cpp | 8 |
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) { |
