patchsvg

command module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 7, 2024 License: MIT Imports: 9 Imported by: 0

README

Patchsvg

Patchsvg is a command line tool for patching SVG files, so they can be used with the Fyne GUI toolkit.

Go Reference

Usage

[!NOTE] This tool requires you to have a Go compiler with version 1.19 (or higher) installed.

This tool can be installed with:

go install github.com/ErikKalkoken/patchsvg@latest

And then use like this:

patchsvg "resources/*"

For more usage information please run:

patchsvg -h

Documentation

Overview

Patchsvg is a command line tool for patching SVG files, so they can be used with the Fyne GUI toolkit.

The SVG library used by Fyne GUI toolkit supports a limited subset of SVG only. This tool can patch the following known issues:

- Icon has viewPort, but missing width and height (e.g. icons from the website Pictogrammers Material Design Icons)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL