Skip to content

Commit 257e493

Browse files
committed
Unsuccessful attempt to add URL to SVG output inside the application (GDD proof)
1 parent 6fe353f commit 257e493

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

src/main/java/wprover/PanelProve.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1693,8 +1693,10 @@ Node graphvizNode(Cond co) {
16931693
}
16941694
String rulestring = GExpert.getTranslationViaGettext("Rule {0}", rule + "");
16951695
String url = "";
1696-
// url = "https://en.m.wikipedia.org/wiki/File:Example.svg";
1697-
// url = "https://github.com/kovzol/Java-Geometry-Expert/blob/master/src/docs/help/images_a/rectangle.gif";
1696+
// For some reason, this does not work, we get
1697+
// an error org.apache.batik.dom.util.SAXIOException: Invalid byte 1 of 1-byte UTF-8 sequence.
1698+
// FIXME.
1699+
// String url = "https://github.com/kovzol/Java-Geometry-Expert/blob/master/src/docs/web/Rule" + rule + ".jpg?raw=true";
16981700
n = Node.builder().shape(s).table(table().border(0).bgColor(c).
16991701
cellBorder(0).cellSpacing(0).cellPadding(6).href(url).tooltip(tooltipstring).
17001702
tr(td().color(c).text(co.getNo() + ") " + co.getText())).

0 commit comments

Comments
 (0)