Code

From trunk
[inkscape.git] / src / extension / internal / pdfinput / svg-builder.cpp
index e28264eff9aa2166476c14103418e9ef47c7605d..f58e37173db62d7b603d9b790a1c74b931c3d5f9 100644 (file)
@@ -1210,7 +1210,9 @@ void SvgBuilder::_flushText() {
         last_delta_pos = delta_pos;
 
         // Append the character to the text buffer
-        text_buffer.append((char *)&glyph.code, 1);
+       if (0 != glyph.code[0]) {
+            text_buffer.append((char *)&glyph.code, 1);
+       }
 
         glyphs_in_a_row++;
         i++;