[librsvg] Don't coalesce character nodes with tspan nodes
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg] Don't coalesce character nodes with tspan nodes
- Date: Mon, 7 Nov 2011 19:29:18 +0000 (UTC)
commit 232e104fd829d9054d55d88b216f5ace589e9925
Author: Martin von Gagern <Martin vGagern gmx net>
Date: Mon Nov 7 20:14:37 2011 +0100
Don't coalesce character nodes with tspan nodes
https://bugzilla.gnome.org/show_bug.cgi?id=581108
rsvg-base.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/rsvg-base.c b/rsvg-base.c
index 499ab75..dbdb65b 100644
--- a/rsvg-base.c
+++ b/rsvg-base.c
@@ -746,6 +746,9 @@ rsvg_characters_impl (RsvgHandle * ctx, const xmlChar * ch, int len)
if (RSVG_NODE_TYPE (node) == RSVG_NODE_TYPE_CHARS) {
self = (RsvgNodeChars*)node;
}
+ else if (RSVG_NODE_TYPE (node) == RSVG_NODE_TYPE_TSPAN) {
+ self = NULL;
+ }
}
if (self != NULL) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]