diff options
Diffstat (limited to 'html')
-rw-r--r-- | html/en/drv/svg.html | 6 | ||||
-rw-r--r-- | html/en/history.html | 3 |
2 files changed, 9 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 "." for floating point separators, we set +the numeric locale to "English" 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> diff --git a/html/en/history.html b/html/en/history.html index 87d714e..06eb512 100644 --- a/html/en/history.html +++ b/html/en/history.html @@ -59,6 +59,9 @@ <span class="hist_fixed">Fixed:</span> polygon filling in CD_IMAGERGB driver when there are many horizontal lines in sequence on the same polygon.</li> + <li> + <span class="hist_fixed">Fixed:</span> locale in SVG for floating point + numbers, it must use dots "." for decimal separators.</li> </ul> <h3><a href="http://sourceforge.net/projects/canvasdraw/files/5.4/">Version 5.4</a> (24/June/2010)</h3> <ul> |