diff --git a/src/extension/internal/pdfinput/svg-builder.cpp b/src/extension/internal/pdfinput/svg-builder.cpp
index e28264eff9aa2166476c14103418e9ef47c7605d..5a3015aef60ba07ace31c00030ecb870752459cf 100644 (file)
#include "io/stringstream.h"
#include "io/base64stream.h"
#include "display/nr-filter-utils.h"
-#include "libnr/nr-matrix-ops.h"
#include "libnr/nr-macros.h"
#include "libnrtype/font-instance.h"
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++;