Draft glyphon implementation of text pipeline for iced_wgpu

This commit is contained in:
Héctor Ramón Jiménez 2023-01-31 06:29:21 +01:00
parent b9a9576207
commit baf51a8fcf
No known key found for this signature in database
GPG key ID: 140CC052C94F138E
8 changed files with 187 additions and 26 deletions

View file

@ -28,7 +28,7 @@ pub struct Settings<Flags> {
/// The text size that will be used by default.
///
/// The default value is `20.0`.
/// The default value is `16.0`.
pub default_text_size: f32,
/// If enabled, spread text workload in multiple threads when multiple cores
@ -97,7 +97,7 @@ where
window: Default::default(),
flags: Default::default(),
default_font: Default::default(),
default_text_size: 20.0,
default_text_size: 16.0,
text_multithreading: false,
antialiasing: false,
exit_on_close_request: true,