htrb / ngraph-gtk

Ngraph is the program to create scientific 2-dimensional graphs for researchers and engineers. Graphs can be exported to PostScript, SVG, PNG or PDF format.
GNU General Public License v2.0
23 stars 0 forks source link

The program does not work with comma as a decimal separator #2

Closed igreenman closed 3 years ago

igreenman commented 3 years ago

Thank you for ngraph-gtk.

When I run the program and go to the Help -> Demonstration menu, I get error messages.

Works fine in this launch option: $ LANG=C ngraph

My OS: Archlinux

$ ngraph -V
Ngraph version 6.08.09
Copyright (C) 2003, Satoshi ISHIZAKA.

  compiler:
    gcc 10.2.0

  library:
    GTK+
     compile: 3.24.24
      linked: 3.24.24

    GLib
     compile: 2.66.4
      linked: 2.66.4

    Cairo
     compile: 1.17.4
      linked: 1.17.4

    Pango
     compile: 1.48.0
      linked: 1.48.0

    GtkSourceView
     compile: 3.24.12
      linked: 3.24.12

    readline
     compile: 8.1
      linked: 8.1

    GSL
     compile: 2.6
      linked: 2.6
$ locale
LANG=ru_RU.utf8
LC_CTYPE="ru_RU.utf8"
LC_NUMERIC="ru_RU.utf8"
LC_TIME="ru_RU.utf8"
LC_COLLATE="ru_RU.utf8"
LC_MONETARY="ru_RU.utf8"
LC_MESSAGES="ru_RU.utf8"
LC_PAPER="ru_RU.utf8"
LC_NAME="ru_RU.utf8"
LC_ADDRESS="ru_RU.utf8"
LC_TELEPHONE="ru_RU.utf8"
LC_MEASUREMENT="ru_RU.utf8"
LC_IDENTIFICATION="ru_RU.utf8"
LC_ALL=
htrb commented 3 years ago

Thank you for the report. As you mentioned, comma cannot be used as a decimal separator in Ngraph-GTK. Now I am planning to improve the behavior as follows.

htrb commented 3 years ago

I have fixed the problem as follows.

I will release the next version in this month.

igreenman commented 3 years ago

Thank you.