Skip to content

sdedovic/svgview

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

svgview

crates.io GitHub release (latest by date)

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