summaryrefslogtreecommitdiffstats
path: root/tiny_skia/src
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2023-04-08 04:47:05 +0200
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2023-04-08 04:47:05 +0200
commitc0431aedd3bbef4161456f2fa5f29866e8f17fc5 (patch)
tree37f5af689b91818e04f3bc58e523aa24858f056a /tiny_skia/src
parent6fae8bf6cbe7155bcee42eaeba68e31564df057c (diff)
downloadiced-c0431aedd3bbef4161456f2fa5f29866e8f17fc5.tar.gz
iced-c0431aedd3bbef4161456f2fa5f29866e8f17fc5.tar.bz2
iced-c0431aedd3bbef4161456f2fa5f29866e8f17fc5.zip
Update `wgpu` and `cosmic-text`
Diffstat (limited to 'tiny_skia/src')
-rw-r--r--tiny_skia/src/text.rs9
1 files changed, 1 insertions, 8 deletions
diff --git a/tiny_skia/src/text.rs b/tiny_skia/src/text.rs
index 865132b4..e0e893bd 100644
--- a/tiny_skia/src/text.rs
+++ b/tiny_skia/src/text.rs
@@ -385,14 +385,7 @@ impl Cache {
cosmic_text::Attrs::new()
.family(to_family(key.font.family))
.weight(to_weight(key.font.weight))
- .stretch(to_stretch(key.font.stretch))
- .monospaced(
- key.font.monospaced
- || matches!(
- key.font.family,
- font::Family::Monospace
- ),
- ),
+ .stretch(to_stretch(key.font.stretch)),
);
let _ = entry.insert(buffer);