diff options
author | 2024-09-14 05:43:00 +0800 | |
---|---|---|
committer | 2024-09-13 21:43:00 +0000 | |
commit | 0c502801e359706a182f01da1465c17b15fa6c67 (patch) | |
tree | 9ab4c10b00086e358220e0a8b2d4e6465f0f9726 /widget/src/slider.rs | |
parent | e0da42efed23a8d5a664acb12a2c699147f2408a (diff) | |
download | iced-0c502801e359706a182f01da1465c17b15fa6c67.tar.gz iced-0c502801e359706a182f01da1465c17b15fa6c67.tar.bz2 iced-0c502801e359706a182f01da1465c17b15fa6c67.zip |
Make rendering of svg that has text work out of the box (#2560)
* fix: load system fonts to usvg font_db, this will make rendering of text in svg that has it
* feat: add an example that renders svg that has text on it
* Initialize `fontdb` only once for `vector` images
* Remove `svg_text` example
* Set `fontdb` for `usvg::Options` in `tiny_skia::vector`
---------
Co-authored-by: Héctor Ramón Jiménez <hector@hecrj.dev>
Diffstat (limited to 'widget/src/slider.rs')
0 files changed, 0 insertions, 0 deletions