Browse Source
Gerbview: fix a subtle issue when reading parameter values in Gerber files.
Gerbview: fix a subtle issue when reading parameter values in Gerber files.
In Gerber files the char 'X' is used as separator. But when reading parameter values, the sequence "0xnnn" is a number in hexadecimal format, and the 'X' char is not seen as separator by usual strtod or strtol C functions. This is now fixed.pull/3/merge
7 changed files with 63 additions and 9 deletions
-
5gerbview/class_am_param.cpp
-
6gerbview/class_am_param.h
-
7gerbview/class_aperture_macro.cpp
-
1gerbview/gerber_test_files/aperture_macro-with_param-test.gbr
-
1gerbview/readgerb.cpp
-
26gerbview/rs274_read_XY_and_IJ_coordinates.cpp
-
26gerbview/rs274x.cpp
Write
Preview
Loading…
Cancel
Save
Reference in new issue