summaryrefslogtreecommitdiffstats
path: root/tiny_skia (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Refactor texture image filteringLibravatar Héctor Ramón Jiménez2023-11-112-4/+15
| | | | | | - Support only `Linear` or `Nearest` - Simplify `Layer` groups - Move `FilterMethod` to `Image` and `image::Viewer`
* Fix clippy + fmtLibravatar Remmirad2023-11-111-3/+7
|
* Implement texture filtering optionsLibravatar Remmirad2023-11-111-1/+6
|
* Merge pull request #1908 from alec-deason/bug/convert_textLibravatar Héctor Ramón2023-11-111-2/+12
|\ | | | | Run convert_text on svg trees so text renders correctly
| * Call `convert_text` on `svg` node before renderingLibravatar Héctor Ramón Jiménez2023-11-111-2/+12
| | | | | | | | | | `tiny-skia` does not support text rendering, so we convert the text nodes to path nodes prior to that.
* | Migrate twox-hash -> xxhash_rust. Switch to Xxh3 for better performance.Libravatar dtzxporter2023-11-111-5/+1
|/ | | | xxhash-rust is more maintained, built against `::core`, so no workaround for wasm is necessary. Switch to Xxh3 for better performance, which shows when loading/hashing image buffers.
* Merge branch 'master' into text-editorLibravatar Héctor Ramón Jiménez2023-10-274-20/+8
|\
| * Centralize `clippy` lints in `.cargo/config.toml`Libravatar Héctor Ramón Jiménez2023-09-201-11/+1
| |
| * Fix `clippy::unreadable_literal`Libravatar Héctor Ramón Jiménez2023-09-201-3/+3
| |
| * Fix `clippy::default_trait_access`Libravatar Héctor Ramón Jiménez2023-09-201-1/+1
| |
| * Merge pull request #2092 from nyurik/clippyLibravatar Héctor Ramón2023-09-191-1/+1
| |\ | | | | | | Chore: Apply some minor clippy fixes
| | * Chore: Apply some minor clippy fixesLibravatar Yuri Astrakhan2023-09-191-1/+1
| | | | | | | | | | | | | | | | | | * Use `.elapsed()` for duration * Use direct iteration without calling `.iter()` and the like * order fields in the `Text` struct creation as declared
| * | Chore: Inline format args for ease of readingLibravatar Yuri Astrakhan2023-09-191-4/+2
| |/ | | | | | | A minor cleanup to inline all simple cases of format arguments. Makes the format strings just a bit easier to read.
* | Fix gamma correction for colored glyphs in `iced_wgpu`Libravatar Héctor Ramón Jiménez2023-09-191-1/+13
| |
* | Draw colored glyphs in `iced_tiny_skia`Libravatar Héctor Ramón Jiménez2023-09-191-1/+7
| |
* | Remove `Editor::min_bounds` and use `bounds` insteadLibravatar Héctor Ramón Jiménez2023-09-141-1/+1
| |
* | Draft `Editor` API and `TextEditor` widgetLibravatar Héctor Ramón Jiménez2023-09-122-0/+57
| |
* | Make `FontSystem` global and simplify `Paragraph` APILibravatar Héctor Ramón Jiménez2023-09-112-15/+11
|/
* Merge branch 'master' into explicit-text-cachingLibravatar Héctor Ramón Jiménez2023-09-107-41/+57
|\
| * Deny `broken_intradoc_links` and verify documentation in CILibravatar Héctor Ramón Jiménez2023-09-096-10/+24
| |
| * Merge pull request #2070 from ripytide/masterLibravatar Héctor Ramón2023-09-071-2/+10
| |\ | | | | | | Added a Frame::scale_nonuniform method
| | * Make `scale` methods in `Frame` generic over `f32` and `Vector`Libravatar Héctor Ramón Jiménez2023-09-071-2/+6
| | |
| | * Implement `scale` in terms of `scale_nonuniform`Libravatar Héctor Ramón Jiménez2023-09-071-1/+1
| | |
| | * added a Frame::scale_nonuniform methodLibravatar ripytide2023-09-051-0/+4
| | |
| * | Merge pull request #2059 from joshuamegnauth54/ensure_nonzero_text_lineheightLibravatar Héctor Ramón2023-09-071-1/+4
| |\ \ | | | | | | | | [issue #2002] Ensure that absolute `LineHeight` is always > 0.0
| | * | Use the correct text size and height in tiny_skiaLibravatar Josh Megnauth2023-09-051-2/+2
| | | |
| | * | Check LineHeight > 0.0 before allocating textLibravatar Josh Megnauth2023-09-041-8/+5
| | | |
| | * | Ensure LineHeight is always > 0.0 for tiny skia.Libravatar Josh Megnauth2023-09-041-4/+10
| | |/
| * / Use workspace dependencies and package inheritanceLibravatar Héctor Ramón Jiménez2023-09-041-30/+24
| |/ | | | | | | | | | | We are also taking this as a chance to synchronize the versions of all the crates! Because of this, we will skip the `0.11` version.
* | Invalidate existing paragraphs when new fonts are loadedLibravatar Héctor Ramón Jiménez2023-09-091-4/+1
| |
* | Remove unnecessary mutable reference in `iced_tiny_skia`Libravatar Héctor Ramón Jiménez2023-09-031-1/+1
| |
* | Implement `draw_paragraph` in `iced_tiny_skia`Libravatar Héctor Ramón Jiménez2023-09-032-56/+104
| |
* | Use `min_bounds` for cached textLibravatar Héctor Ramón Jiménez2023-08-301-4/+4
| |
* | Implement explicit text caching in the widget state treeLibravatar Héctor Ramón Jiménez2023-08-305-345/+86
|/
* Run `cargo fmt` with Rust 1.72Libravatar Héctor Ramón Jiménez2023-08-261-3/+9
|
* Make the style attribute available on FontLibravatar lufte2023-08-181-1/+10
|
* Bump versions :tada:Libravatar Héctor Ramón Jiménez2023-07-281-1/+8
|
* Update `cosmic-text` and `glyphon`Libravatar Héctor Ramón Jiménez2023-07-201-4/+1
|
* Update `resvg` dependency to `0.35`Libravatar Héctor Ramón Jiménez2023-07-121-1/+1
|
* Improve code style in `vector` modulesLibravatar Héctor Ramón Jiménez2023-07-121-11/+12
|
* Fix import consistency for `bytemuck`Libravatar Héctor Ramón Jiménez2023-07-123-8/+6
|
* Upgrade resvg to 0.34 and tiny_skia to 0.10Libravatar Alec Deason2023-07-125-40/+63
|
* Decouple `Mesh` primitives from main `Primitive` typeLibravatar Héctor Ramón Jiménez2023-06-291-8/+0
|
* Introduce custom backend-specific primitivesLibravatar Héctor Ramón Jiménez2023-06-296-37/+101
|
* Retain text measurements as long as original entriesLibravatar Héctor Ramón Jiménez2023-06-281-16/+18
|
* Retain measurements for text entries even if not directly usedLibravatar Héctor Ramón Jiménez2023-06-281-2/+4
|
* Fix needless borrow in `iced_wgpu` and `iced_tiny_skia`Libravatar Héctor Ramón Jiménez2023-06-281-1/+1
|
* Reuse entries in `text::Cache` in `iced_tiny_skia`Libravatar Héctor Ramón Jiménez2023-06-281-38/+64
|
* Reuse entries in `text::Cache` in `iced_wgpu`Libravatar Héctor Ramón Jiménez2023-06-282-3/+3
|
* Merge pull request #1843 from wash2/fix-tiny-skia-quadLibravatar Héctor Ramón2023-06-271-18/+126
|\ | | | | fix: quad rendering including border only inside of the bounds