summaryrefslogtreecommitdiff
path: root/graphics/circuit_macros/examples/svg/SVGconfig.m4
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/circuit_macros/examples/svg/SVGconfig.m4')
-rw-r--r--graphics/circuit_macros/examples/svg/SVGconfig.m416
1 files changed, 2 insertions, 14 deletions
diff --git a/graphics/circuit_macros/examples/svg/SVGconfig.m4 b/graphics/circuit_macros/examples/svg/SVGconfig.m4
index 372a93937b..e8aa1fa3ec 100644
--- a/graphics/circuit_macros/examples/svg/SVGconfig.m4
+++ b/graphics/circuit_macros/examples/svg/SVGconfig.m4
@@ -50,21 +50,9 @@ define(`SIdefaults',`
')
define(`local_init',`
+`#' local init begin
scaledefaults(1.1)
+`#' local init end
')
-# If the variable dptextratio is not found you don't have
-# dpic version 2018.05.15 or later. In that case, change
-# dptextratio to 1 in the following (or delete *dptextrario ).
-define(`svg_font',`
-command "<g patsubst(ifelse(`$1',,,
-index(`$1',font),0,`$1',
-index(`$1',style),0,`$1',
-style="font-family:`$1'")
-,",\\")>"
- ifelse(`$2',,,`textht=(`$2')*dptextratio')
- ifelse(`$3',,,`textoffset=`$3'')
- `$4'
- ifelse(`$4',,,`command "</g>"')')
-
divert(0)dnl