hchapman / tikzedt

Automatically exported from code.google.com/p/tikzedt
9 stars 2 forks source link

Wrong decimal point on Linux (comma instead of dot) #40

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Run TikzEdt 0.2.1 on Ubuntu 12.04 with language is set to German
2. Draw anything

What is the expected output? What do you see instead?
Coordinates should be inserted using the right format for TikZ, not depending 
on the locale set in the OS.  Specificly, on a German Ubuntu, TikzEdt generates 
code like “\draw (0,0,5) -- (1,5,2);” instead of “\draw (0,0.5) -- 
(1.5,2);”.  Consequently, the preview is broken until the coordinates have 
been fixed manually.

Original issue reported on code.google.com by computer...@googlemail.com on 6 Aug 2012 at 10:13

GoogleCodeExporter commented 9 years ago
Oh, this is bad!

We do set the culture in the Windows version, but it was forgotten in the Linux 
version (or, at the wrong place).

I fixed this now... it'll be in the next release.

Original comment by t.willwa...@gmail.com on 6 Aug 2012 at 11:39

GoogleCodeExporter commented 9 years ago

Original comment by t.willwa...@gmail.com on 8 Dec 2012 at 7:10

GoogleCodeExporter commented 9 years ago

Original comment by t.willwa...@gmail.com on 18 Dec 2012 at 12:00