fskpf/svg2roughjs

Font replacement doesn't seem to work in SVG mode

ygra opened this issue · 0 comments

ygra commented

e.g. with

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN"
 "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd" [
 <!ATTLIST svg xmlns:xlink CDATA #FIXED "http://www.w3.org/1999/xlink">
]>
<!-- Generated by Graphviz version 2.18 (Fri Mar 28 18:30:32 GMT 2008)
 -->
<!-- Title: G Pages: 1 -->
<svg width="440pt" height="348pt"
 viewBox="0.00 0.00 440.00 348.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 344)">
<title>G</title>
<!-- cvo -->
<g id="node1" class="node"><title>cvo</title>
<polygon style="fill:white;stroke:black;" points="252,-340 90,-340 90,-282 252,-282 252,-340"/>
<text text-anchor="middle" x="171" y="-306.4" style="font-family:Times New Roman;font-size:14.00;">Convex Optimization</text>
</g>
  </g>
</svg>

Canvas mode is unaffected.