summaryrefslogtreecommitdiffstats
path: root/wgpu/src/text.rs (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Update `glyphon` and `cosmic-text`Libravatar Héctor Ramón Jiménez2023-06-161-18/+13
|
* Use consistent color strategy in `glyphon`Libravatar Héctor Ramón Jiménez2023-06-011-1/+10
|
* Introduce `web-colors` feature flag to enable sRGB linear blendingLibravatar Héctor Ramón Jiménez2023-05-311-1/+3
| | | | | | | | | | | | | | | This is how browsers perform color management. They treat gamma-corrected sRGB colors as if they were linear RGB. Correctness aside, this mode is introduced for legacy reasons. Most UI/UX tooling uses this color management as well, and many have created an intuition about how color should behave from interacting with a browser. This feature flag should facilitate application development with `iced` in those cases. More details: https://webcolorisstillbroken.com/
* Clip text that exceeds section bounds in `iced_wgpu`Libravatar Héctor Ramón Jiménez2023-05-081-56/+68
|
* Round paragraph position until we implement subpixel glyph positioningLibravatar Héctor Ramón Jiménez2023-05-081-2/+6
|
* Support configurable `LineHeight` in text widgetsLibravatar Héctor Ramón Jiménez2023-05-041-6/+22
|
* Update `glyphon` and `cosmic-text`Libravatar Héctor Ramón Jiménez2023-05-021-1/+8
|
* Introduce `text::Shaping` enum and replace magic booleanLibravatar Héctor Ramón Jiménez2023-05-021-8/+8
|
* Make basic text shaping the default shaping strategyLibravatar Héctor Ramón Jiménez2023-05-021-0/+7
|
* Update `wgpu` and `cosmic-text`Libravatar Héctor Ramón Jiménez2023-04-081-10/+7
|
* Introduce `font::Stretch`Libravatar Héctor Ramón Jiménez2023-03-301-0/+15
|
* Introduce support for `Font` attributesLibravatar Héctor Ramón Jiménez2023-03-301-11/+33
|
* Update `cosmic-text` to latest :tada:Libravatar Héctor Ramón Jiménez2023-03-191-207/+165
|
* Trim text `Buffer` cache every frame in `iced_wgpu` and `iced_tiny_skia`Libravatar Héctor Ramón Jiménez2023-03-171-13/+3
|
* Merge branch 'advanced-text' into feature/software-rendererLibravatar Héctor Ramón Jiménez2023-03-041-17/+11
|\
| * Reuse text buffers independently of color in `iced_wgpu`Libravatar Héctor Ramón Jiménez2023-02-271-17/+11
| |
* | Create `iced_widget` subcrate and re-organize the whole codebaseLibravatar Héctor Ramón Jiménez2023-03-041-8/+6
| |
* | Implement `Canvas` support for `iced_tiny_skia`Libravatar Héctor Ramón Jiménez2023-03-011-1/+2
|/
* Trim `Cache` every 300 frames in `text::Pipeline`Libravatar Héctor Ramón Jiménez2023-02-241-3/+13
|
* Collapse conditional and please `clippy`Libravatar Héctor Ramón Jiménez2023-02-241-0/+1
|
* Grow atlas in `text::Pipeline` when necessaryLibravatar Héctor Ramón Jiménez2023-02-241-18/+36
|
* Set scissoring properly in `text::Pipeline`Libravatar Héctor Ramón Jiménez2023-02-241-0/+8
|
* Reuse a `RenderPass` as much as possible in `iced_wgpu`Libravatar Héctor Ramón Jiménez2023-02-241-27/+13
|
* Apply `ceil` to text bounds when drawingLibravatar Héctor Ramón Jiménez2023-02-241-2/+4
|
* Set `Attrs::monospaced` if `Font::Monospace` is selectedLibravatar Héctor Ramón Jiménez2023-02-241-10/+13
|
* Set a minimum `height` for `Buffer` of `size * 1.2`Libravatar Héctor Ramón Jiménez2023-02-241-1/+4
| | | | | This avoids text from misteriously disappearing, even if the user uses a `height` that isn't enough to fit the text.
* Stop truncating the `renderers` in `text::Pipeline`Libravatar Héctor Ramón Jiménez2023-02-241-1/+0
| | | | | We avoid recreating buffers this way, and the amount of layers should stay relatively low anyways.
* Avoid allocating `text_areas` in `text::Pipeline`Libravatar Héctor Ramón Jiménez2023-02-241-7/+4
|
* Stop reusing `SwashCache` in `text::Pipeline`Libravatar Héctor Ramón Jiménez2023-02-241-7/+1
| | | | | `SwashCache` can't be easily trimmed and it's not really getting us anything since `glyphon` already caches using a glyph atlas anyways.
* Disable `std` feature for `twox-hash` to fix Wasm buildLibravatar Héctor Ramón Jiménez2023-02-241-3/+8
|
* Fix `clippy` lints :tada:Libravatar Héctor Ramón Jiménez2023-02-241-6/+7
|
* Load `Iced-Icons.ttf` font in `text::Pipeline::new`Libravatar Héctor Ramón Jiménez2023-02-241-1/+7
|
* Use floating coordinates directly in `text::Pipeline`Libravatar Héctor Ramón Jiménez2023-02-241-7/+6
|
* Implement `font::load` command in `iced_native`Libravatar Héctor Ramón Jiménez2023-02-241-204/+266
|
* Overhaul `Font` type to allow font family selectionLibravatar Héctor Ramón Jiménez2023-02-241-4/+6
|
* Count `layout_runs` instead of using `visible_lines` in ↵Libravatar Héctor Ramón Jiménez2023-02-241-6/+7
| | | | `text::Pipeline::prepare`
* Implement `hit_test` for `text::Pipeline` in `iced_wgpu`Libravatar Héctor Ramón Jiménez2023-02-241-6/+18
|
* Use `bounds` directly for `measure` in text pipelineLibravatar Héctor Ramón Jiménez2023-02-241-4/+1
|
* Avoid unnecessary `Vec` allocation in text pipelineLibravatar Héctor Ramón Jiménez2023-02-241-7/+5
|
* Trim text `render_cache` after rendering in `iced_wgpu`Libravatar Héctor Ramón Jiménez2023-02-241-0/+2
|
* Implement basic text caching in `iced_wgpu`Libravatar Héctor Ramón Jiménez2023-02-241-60/+141
|
* Convert sRGB to linear RGB for text in `iced_wgpu`Libravatar Héctor Ramón Jiménez2023-02-241-2/+8
|
* Implement proper text alignment support in `iced_wgpu`Libravatar Héctor Ramón Jiménez2023-02-241-5/+32
|
* Implement support for multiple text layers in `iced_wgpu`Libravatar Héctor Ramón Jiménez2023-02-241-13/+32
|
* Draft `glyphon` implementation of text pipeline for `iced_wgpu`Libravatar Héctor Ramón Jiménez2023-02-241-10/+150
|
* Remove `iced_glow`, `glyph-brush`, and `wgpu_glyph` dependenciesLibravatar Héctor Ramón Jiménez2023-02-241-245/+19
|
* Address Clippy lintsLibravatar Poly2022-07-091-1/+2
|
* Experimental wgpu WebGL backend supportLibravatar Vladyslav Nikonov2022-01-281-3/+7
| | | | | | | | - Added missing `draw_cache_align_4x4` call for `brush_glyph` on wasm32 target - Added WebGL support to `integratio_wgpu` example - Fixed test.yml CI workflow - Removed spir-v shader in `integration_wgpu`; Fixed formatting - Removed redundant `BoxStream` typedef
* Use `Iterator::min_by` instead of `fold` in `hit_test`Libravatar Héctor Ramón Jiménez2021-09-151-13/+11
|
* Use `Option` to encode empty text case in hit test methodsLibravatar Héctor Ramón Jiménez2021-09-151-8/+10
|