diff options
| author | Marc Jeanmougin <marc@jeanmougin.fr> | 2017-06-11 15:55:25 +0000 |
|---|---|---|
| committer | Marc Jeanmougin <marc@jeanmougin.fr> | 2017-06-11 15:55:25 +0000 |
| commit | 272e9bd45687ec66e1e8a8fca40a2999cbb1024f (patch) | |
| tree | cd307a280272e57e2277a9c2937fc3998d07f037 /src/sp-text.cpp | |
| parent | Update .gitlab-ci.yml (diff) | |
| parent | Merge branch 'appveyor' into 'master' (diff) | |
| download | inkscape-272e9bd45687ec66e1e8a8fca40a2999cbb1024f.tar.gz inkscape-272e9bd45687ec66e1e8a8fca40a2999cbb1024f.zip | |
Merge gitlab.com:inkscape/inkscape
Update .gitlab-ci.yml
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) { |
