iced/wgpu/src
Jovansonlee Cesar 0c502801e3
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>
2024-09-13 21:43:00 +00:00
..
image Make rendering of svg that has text work out of the box (#2560) 2024-09-13 21:43:00 +00:00
quad Remove tracing leftovers in iced_wgpu 2024-06-11 20:03:28 +02:00
shader Merge pull request #2484 from vladh/fix-radii-typo 2024-09-11 00:43:50 +02:00
triangle Restore PREMULTIPLIED_ALPHA_BLENDING in triangle::msaa pipeline 2024-04-12 18:46:48 +02:00
window Introduce ICED_PRESENT_MODE env var to pick a wgpu::PresentMode 2024-05-07 21:05:29 +02:00
buffer.rs Fix batched writes logic in iced_wgpu::buffer 2024-03-30 13:51:22 +01:00
color.rs Fix panic in wgpu::color::convert 2024-05-02 08:44:44 +02:00
engine.rs Fix windows fighting over shared image::Cache 2024-05-06 12:23:44 +02:00
geometry.rs Add stroke_rectangle 2024-09-10 23:44:04 +02:00
layer.rs Introduce Svg struct in core::svg 2024-08-04 04:52:55 +02:00
lib.rs Add text::Wrapping support 2024-09-04 21:26:47 +02:00
primitive.rs Fix clippy lints for new 1.78 stable toolchain 2024-05-02 17:23:32 +02:00
quad.rs Decouple caching from layering and simplify everything 2024-04-05 23:59:21 +02:00
settings.rs Document present_mode_from_env in iced_wgpu 2024-05-07 21:13:51 +02:00
text.rs Update cosmic-text and resvg (#2416) 2024-07-17 13:00:00 +02:00
triangle.rs Invalidate text uploads after atlas trimming 2024-04-30 21:59:46 +02:00
window.rs Introduce iced_renderer subcrate featuring runtime renderer fallback 2023-02-24 23:24:48 +01:00