summaryrefslogtreecommitdiff
path: root/html/en/drv/svg.html
diff options
context:
space:
mode:
authorscuri <scuri>2010-10-14 18:07:59 +0000
committerscuri <scuri>2010-10-14 18:07:59 +0000
commit26ee3a10b806df99915805516567f6ad38956ac4 (patch)
tree65b9d3812776ed84b9d09c5c42e99594228cbff2 /html/en/drv/svg.html
parent6620df9471268a72f0c58eddb99c0d612bca566e (diff)
Fixed: locale in SVG for floating point numbers, it must use dots "." for decimal separators.
Diffstat (limited to 'html/en/drv/svg.html')
-rw-r--r--html/en/drv/svg.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/html/en/drv/svg.html b/html/en/drv/svg.html
index 7f242d5..c9cfcbd 100644
--- a/html/en/drv/svg.html
+++ b/html/en/drv/svg.html
@@ -36,6 +36,12 @@
<p>Any amount of such canvases may exist simultaneously. It is important to note that a call to function
<a href="../func/init.html#cdKillCanvas"><font face="Courier"><strong>
cdKillCanvas</strong></font></a> is required to <b>close</b> the file properly.</p>
+<p><strong>IMPORTANT:</strong> because the SVG specification states that
+floating point number must use dots &quot;.&quot; for floating point separators, we set
+the numeric locale to &quot;English&quot; when the canvas is created, and restore it when
+it is destroyed. But since it uses the global C function <strong>setlocale</strong>
+if you use other C functions that are locale dependent while the SVG canvas is
+being used then be aware that they will be affected.</p>
<h3>Behavior of Functions</h3>
<h4>Control</h4>
<dir>