summaryrefslogtreecommitdiffstats
path: root/tiny_skia/src
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón <hector@hecrj.dev>2023-12-11 10:56:34 +0100
committerLibravatar GitHub <noreply@github.com>2023-12-11 10:56:34 +0100
commit78689687ff988c00cf75164c26a9982cdfcfdcde (patch)
tree2bf178b0df77d663ad56f5aa87c753a030bdd2af /tiny_skia/src
parenteaaea414b8544b883c0388a5a92cbb0df7fc6633 (diff)
parent04e8e529a0e80499b129395664f1806de8102d01 (diff)
downloadiced-78689687ff988c00cf75164c26a9982cdfcfdcde.tar.gz
iced-78689687ff988c00cf75164c26a9982cdfcfdcde.tar.bz2
iced-78689687ff988c00cf75164c26a9982cdfcfdcde.zip
Merge pull request #2161 from cfrenette/bug/svg-text-not-rendered
Implement a fix for the native renderer not rendering text in SVGs
Diffstat (limited to 'tiny_skia/src')
-rw-r--r--tiny_skia/src/vector.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tiny_skia/src/vector.rs b/tiny_skia/src/vector.rs
index 9c2893a2..fd1ab3de 100644
--- a/tiny_skia/src/vector.rs
+++ b/tiny_skia/src/vector.rs
@@ -96,7 +96,7 @@ impl Cache {
if let Some(svg) = &mut svg {
if svg.has_text_nodes() {
let mut font_system =
- text::font_system().write().expect("Read font system");
+ text::font_system().write().expect("Write font system");
svg.convert_text(font_system.raw().db_mut());
}