Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
SVG output should not be internationalised.
  • Loading branch information
johnmay committed Dec 11, 2015
1 parent 7905735 commit 02d01a6
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -43,13 +43,15 @@
import java.awt.Color;
import java.awt.geom.AffineTransform;
import java.text.DecimalFormat;
import java.text.DecimalFormatSymbols;
import java.text.NumberFormat;
import java.util.ArrayDeque;
import java.util.Collection;
import java.util.Deque;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Locale;
import java.util.Map;

/**
Expand All @@ -71,7 +73,7 @@ final class SvgDrawVisitor implements IDrawVisitor {
private int indentLvl = 0;
private AffineTransform transform = null;
private RendererModel model = null;
private NumberFormat decimalFormat = new DecimalFormat(".##");
private NumberFormat decimalFormat = new DecimalFormat(".##", new DecimalFormatSymbols(Locale.ROOT));

private boolean defaultsWritten = false;
private Color defaultStroke = null;
Expand Down

0 comments on commit 02d01a6

Please sign in to comment.