From 6a42b14fb24bfabd00546a4cfa6c7876d60df861 Mon Sep 17 00:00:00 2001 From: John Ellson Date: Tue, 5 Jun 2012 08:09:44 -0400 Subject: [PATCH] enable layers in svg - patch from yamato@redhat.com --- cmd/dot/Makefile.am | 6 ++++++ plugin/core/gvrender_core_svg.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/cmd/dot/Makefile.am b/cmd/dot/Makefile.am index 4b7be0aad..d28f05f14 100644 --- a/cmd/dot/Makefile.am +++ b/cmd/dot/Makefile.am @@ -128,6 +128,12 @@ dot_static_LDADD += $(top_builddir)/plugin/lasi/.libs/libgvplugin_lasi_C.a $(LAS dot_builtins_LDADD += $(top_builddir)/plugin/lasi/libgvplugin_lasi.la $(LASI_LIBS) -lstdc++ endif +if WITH_LASI +dot_static_LDADD += $(top_builddir)/plugin/lasi/.libs/libgvplugin_lasi_C.a $(LASI_LIBS) -lstdc++ +dot_builtins_LDADD += $(top_builddir)/plugin/lasi/libgvplugin_lasi.la $(LASI_LIBS) -lstdc++ +endif + + EXTRA_DIST = Makefile.old dot.1 dot.1.pdf osage.1 osage.1.pdf patchwork.1 patchwork.1.pdf dot.vcproj DISTCLEANFILES = dot.1.pdf osage.1.pdf diff --git a/plugin/core/gvrender_core_svg.c b/plugin/core/gvrender_core_svg.c index e53339ffd..b2144f52e 100644 --- a/plugin/core/gvrender_core_svg.c +++ b/plugin/core/gvrender_core_svg.c @@ -661,7 +661,7 @@ gvrender_features_t render_features_svg = { }; gvdevice_features_t device_features_svg = { - GVDEVICE_DOES_TRUECOLOR, /* flags */ + GVDEVICE_DOES_TRUECOLOR|GVDEVICE_DOES_LAYERS, /* flags */ {0., 0.}, /* default margin - points */ {0., 0.}, /* default page width, height - points */ {72., 72.}, /* default dpi */ -- 2.50.1