spreet icon indicating copy to clipboard operation
spreet copied to clipboard

Load system fonts

Open Esper89 opened this issue 6 months ago • 0 comments

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.

Esper89 avatar Oct 26 '25 19:10 Esper89