Author Topic: Some svg cleaning  (Read 1060 times)

Offline gd_on

  • Lives here!
  • ****
  • Posts: 777
Some svg cleaning
« on: October 15, 2022, 03:03:45 pm »
I have seen that in recent svg files, there were still some sub-images, temporary objects apparently, which are outside the icon but still there in the svg files, though, no more useful nor used.
Here is an updated set of files, to replace those in src/src/resources/images/svg. This does not change the behaviour of the icons, just slightly reduce the size of the files.
This has been obtained with inskape and saving them as optimized svg files. I have also transformed dbginfo.svg to use path and not text for the integrated i.

gd_on
Windows 10 64 bits (22H2), svn C::B (last version or almost!), wxWidgets 3.2.1, Msys2 Compilers 12.2.0, 64 bits (seh, posix : gcc, g++ and gfortran in C:\msys64\mingw64) or 32 bits (dwarf2, posix  in C:\msys64\mingw32).

Offline Miguel Gimenez

  • Developer
  • Lives here!
  • *****
  • Posts: 1259
Re: Some svg cleaning
« Reply #1 on: October 15, 2022, 05:42:53 pm »
Applied in [r12977], thank you.

Offline gd_on

  • Lives here!
  • ****
  • Posts: 777
Re: Some svg cleaning
« Reply #2 on: October 15, 2022, 07:42:55 pm »
Cool  ;D
I am preparing the same work for some other svg files.
Windows 10 64 bits (22H2), svn C::B (last version or almost!), wxWidgets 3.2.1, Msys2 Compilers 12.2.0, 64 bits (seh, posix : gcc, g++ and gfortran in C:\msys64\mingw64) or 32 bits (dwarf2, posix  in C:\msys64\mingw32).

Offline gd_on

  • Lives here!
  • ****
  • Posts: 777
Re: Some svg cleaning
« Reply #3 on: October 16, 2022, 11:00:34 am »
Here is the work ... :D
All svg files not previously sent, are now cleaned and "svg optimized" by inskape.

The C::B directory structure is preserved, so it should be easy to update.

gd_on
« Last Edit: October 16, 2022, 11:02:47 am by gd_on »
Windows 10 64 bits (22H2), svn C::B (last version or almost!), wxWidgets 3.2.1, Msys2 Compilers 12.2.0, 64 bits (seh, posix : gcc, g++ and gfortran in C:\msys64\mingw64) or 32 bits (dwarf2, posix  in C:\msys64\mingw32).

Offline Miguel Gimenez

  • Developer
  • Lives here!
  • *****
  • Posts: 1259
Re: Some svg cleaning
« Reply #4 on: October 16, 2022, 11:14:14 am »
Applied in [r12978] and Fortran Project's [r356], thank you.