OneDeadKey / kalamine

Keyboard Layout Maker
MIT License
105 stars 29 forks source link

Enable SVG output #69

Closed etienne-monier closed 7 months ago

etienne-monier commented 7 months ago

This MR adds SVG rending as a new file output. This is generated as any other file type.

To test it, simply run (e.g. for ergol.toml file)

python -m kalamine.cli --out ergol.svg layouts/ergol.toml

To test all rending classes, add dk, altgr, mixed classes to main svg tag to display resp. 1st deadkey, altgr and a mixed view layer.

fabi1cazenave commented 7 months ago

Fixes #54.