spreet
spreet copied to clipboard
Load system fonts
Properly rendering SVG <text> elements with resvg requires modifying the default usvg::Options to load fonts somehow. The simplest way to do this (as shown in examples/minimal.rs) is to call fontdb::Database::load_system_fonts at some point. This PR implements this.