nion-software / nionswift

Nion Swift is open source scientific image processing software integrating hardware control, data acquisition, visualization, processing, and analysis using Python. Nion Swift is easily extended using Python. It runs on Windows, Linux, and macOS.
http://nion.com/swift
GNU General Public License v3.0
43 stars 33 forks source link

Improve SVG export mini-project #1037

Open cmeyer opened 2 months ago

cmeyer commented 2 months ago

Exporting to SVG is an important capability for generating resolution independent text on top of images and line plots. However, it is difficult to control the font size. As a first step, we want to simplify the SVG export dialog and behavior.

### Tasks
- [ ] https://github.com/nion-software/nionswift/issues/1051
- [ ] https://github.com/nion-software/nionswift/pull/1060
- [ ] Allow height to be specified in inches, centimeters, or pixels
- [ ] Display final size in specified units according to height and aspect ratio
- [ ] Allow font size to be changed
- [ ] Decide whether preserveAspectRatio needs to be set in the SVG file
- [ ] Use a sans serif font when exporting
- [ ] Allow multiple SVG items to be exported at once