From: miklosh Date: Mon, 30 Jul 2007 17:23:38 +0000 (+0000) Subject: Forgot to advance text position when skipping the first space X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=797add969622b3786436365fdd275aff9a9a6373;p=inkscape.git Forgot to advance text position when skipping the first space --- diff --git a/src/extension/internal/pdfinput/svg-builder.cpp b/src/extension/internal/pdfinput/svg-builder.cpp index 3bbe06a57..c5112c5ad 100644 --- a/src/extension/internal/pdfinput/svg-builder.cpp +++ b/src/extension/internal/pdfinput/svg-builder.cpp @@ -1094,6 +1094,8 @@ void SvgBuilder::addChar(GfxState *state, double x, double y, bool is_space = ( uLen == 1 && u[0] == 32 ); // Skip beginning space if ( is_space && _glyphs.size() < 1 ) { + NR::Point delta(dx, dy); + _text_position += delta; return; } // Allow only one space in a row