Commit graph

24 commits

Author SHA1 Message Date
Tommy Volk
0e8c3fe30f
chore: remove once_cell dependency 2025-01-06 22:56:48 +01:00
Héctor Ramón Jiménez
bfa722c662
Skip loading fonts that were previously loaded 2024-12-14 04:09:51 +01:00
Héctor Ramón Jiménez
2cf4abf25b
Support custom renderers in iced_test through renderer::Headless trait 2024-12-14 03:49:24 +01:00
Héctor Ramón Jiménez
6572909ab5
Embed and use Fira Sans as default font when testing 2024-12-12 03:15:32 +01:00
Héctor Ramón Jiménez
f98328f4f1
Add text::Wrapping support
Co-authored-by: Neeraj Jaiswal <neerajj85@gmail.com>
2024-09-04 21:26:47 +02:00
Héctor Ramón Jiménez
910eb72a06
Implement rich_text widget and markdown example 2024-07-17 22:04:11 +02:00
Héctor Ramón Jiménez
32cd456fb9
Account for transformation in Text::visible_bounds 2024-04-10 16:26:55 +02:00
Héctor Ramón Jiménez
1e802e776c
Reintroduce damage tracking for iced_tiny_skia 2024-04-10 15:21:42 +02:00
Héctor Ramón Jiménez
6ad5bb3597
Port iced_tiny_skia to new layering architecture 2024-04-09 22:25:16 +02:00
Héctor Ramón Jiménez
6d3e1d835e
Decouple caching from layering and simplify everything 2024-04-05 23:59:21 +02:00
Héctor Ramón Jiménez
b05e61f5c8
Redesign iced_wgpu layering architecture 2024-04-03 21:07:54 +02:00
Héctor Ramón Jiménez
35e2049ee6
Embed Fira Sans font on Wasm builds by default 2024-02-20 03:20:58 +01:00
Héctor Ramón Jiménez
c6cf2bc521
Fix clipping of text in iced_tiny_skia 2024-02-11 04:03:01 +01:00
Héctor Ramón Jiménez
d948ca6f09
Update glyphon to 0.4
`Color` is now always in the sRGB color space.
2024-01-15 23:49:20 +01:00
Héctor Ramón Jiménez
603832e66c
Introduce RawText to Primitive in iced_graphics
This should allow users to directly render a
`cosmic_text::Buffer`.
2023-12-05 02:19:17 +01:00
Héctor Ramón Jiménez
99899d49cc
Clamp text::measure to Buffer::size 2023-12-01 15:04:08 +01:00
Héctor Ramón Jiménez
625cd745f3
Write documentation for the new text APIs 2023-10-27 05:04:14 +02:00
Héctor Ramón Jiménez
be340a8cd8
Fix gamma correction for colored glyphs in iced_wgpu 2023-09-19 23:00:20 +02:00
Héctor Ramón Jiménez
76dc82e8e8
Draft Highlighter API 2023-09-17 15:29:14 +02:00
Héctor Ramón Jiménez
723111bb0d
Remove unnecessary into_iter call in graphics::text 2023-09-16 19:09:31 +02:00
Héctor Ramón Jiménez
6448429103
Draft Editor API and TextEditor widget 2023-09-12 14:51:00 +02:00
Héctor Ramón Jiménez
346af3f8b0
Make FontSystem global and simplify Paragraph API 2023-09-11 02:47:24 +02:00
Héctor Ramón Jiménez
3450987355
Invalidate existing paragraphs when new fonts are loaded 2023-09-09 11:21:32 +02:00
Héctor Ramón Jiménez
ed3454301e
Implement explicit text caching in the widget state tree 2023-08-30 04:31:21 +02:00