fromSVG

fun fromSVG(name: String, svg: SVG): Boolean

Add or update an icon from an SVG, using its viewBox as dimensions.

When replacing an existing icon, its characters are kept; its categories are kept only if the previous entry was an icon.