summaryrefslogtreecommitdiffstats
path: root/wgpu/src/text.rs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Update `cosmic-text` and `glyphon`Libravatar Héctor Ramón Jiménez2023-07-201-16/+6
|
* Trim text measurements only before `layout`Libravatar Héctor Ramón Jiménez2023-06-291-28/+17
|
* Introduce `Mode` for `text::Cache` and trim only when switching modesLibravatar Héctor Ramón Jiménez2023-06-291-18/+64
|
* Retain text measurements as long as original entriesLibravatar Héctor Ramón Jiménez2023-06-281-17/+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-7/+10
|
* Reuse entries in `text::Cache` in `iced_wgpu`Libravatar Héctor Ramón Jiménez2023-06-281-28/+53
|
* Clear text caches after a font is loadedLibravatar Héctor Ramón Jiménez2023-06-211-0/+2
|
* Use subpixel glyph positioning and layout linearityLibravatar Héctor Ramón Jiménez2023-06-201-25/+18
| | | | ... for offsetting and scaling text
* 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
|