Fix crash when using TextGraphic in texts

This commit is contained in:
rdb 2016-06-28 19:11:58 +02:00
parent 7e20626915
commit 54819dbcde

View File

@ -544,6 +544,7 @@ assemble_text() {
}
}
if (!placement._glyph.is_null()) {
if (properties->has_shadow()) {
if (_dynamic_merge) {
if (placement._glyph->has_quad()) {
@ -571,6 +572,7 @@ assemble_text() {
} else {
placement.assign_to(text_geom_node, text_state);
}
}
placement.copy_graphic_to(text_node, text_state);
}
placed_glyphs.clear();