svgview

Crates.iosvgview
lib.rssvgview
version0.1.0
sourcesrc
created_at2022-02-15 03:52:07.573444
updated_at2022-02-15 03:52:07.573444
descriptionA minimal, reloading SVG viewer a la feh.
homepagehttps://github.com/sdedovic/svgview
repositoryhttps://github.com/sdedovic/svgview
max_upload_size
id532533
size72,313
Stevan Dedovic (sdedovic)

documentation

README

svgview

Usage

svgview path/to/some/file.svg

Purpose

I needed a tool to view SVGs while I work on them in other software. This tool should function similarly to feh. Requirements:

  • display an SVG and allow resizing
  • without rasterization artifacts
  • and automatically reload on file changes

TODO/Outstanding Issues

  • Nix derivation does not link the binary properly. It will build and execute on my Arch machine with the Nix package manager so long as I am not in a Nix shell when executing.
  • Center content in window
  • Rasterize the SVG in separate thread for performance and to keep the surface looking correct

Installing

cargo install svgview

Building

cargo build
Commit count: 5

cargo fmt