From c7a41a766849dfa32b69692f7cb7dbb00d245c92 Mon Sep 17 00:00:00 2001 From: ellson Date: Thu, 13 Jul 2006 18:32:13 +0000 Subject: [PATCH] fix problem with anchors in svg output --- plugin/core/gvrender_core_svg.c | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/plugin/core/gvrender_core_svg.c b/plugin/core/gvrender_core_svg.c index f1121fb3b..0d11cb4c3 100644 --- a/plugin/core/gvrender_core_svg.c +++ b/plugin/core/gvrender_core_svg.c @@ -384,17 +384,14 @@ static void svggen_end_edge(GVJ_t * job) static void svggen_begin_anchor(GVJ_t * job, char *href, char *tooltip, char *target) { - svggen_fputs(job, "\n"); + svggen_fputs(job, "\n"); } static void svggen_end_anchor(GVJ_t * job) @@ -552,7 +549,11 @@ gvrender_engine_t svggen_engine = { gvrender_features_t svggen_features = { GVRENDER_DOES_TRUECOLOR | GVRENDER_Y_GOES_DOWN - | GVRENDER_DOES_TRANSFORM, /* flags*/ + | GVRENDER_DOES_TRANSFORM + | GVRENDER_DOES_LABELS + | GVRENDER_DOES_MAPS + | GVRENDER_DOES_TARGETS + | GVRENDER_DOES_TOOLTIPS, /* flags */ DEFAULT_EMBED_MARGIN, /* default margin - points */ {96.,96.}, /* default dpi */ svggen_knowncolors, /* knowncolors */ -- 2.50.1