summaryrefslogtreecommitdiffstats
path: root/wgpu/src/layer
diff options
context:
space:
mode:
Diffstat (limited to 'wgpu/src/layer')
-rw-r--r--wgpu/src/layer/text.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/wgpu/src/layer/text.rs b/wgpu/src/layer/text.rs
index fdbdaafb..665f7188 100644
--- a/wgpu/src/layer/text.rs
+++ b/wgpu/src/layer/text.rs
@@ -1,4 +1,5 @@
use crate::core::alignment;
+use crate::core::text;
use crate::core::{Color, Font, Rectangle};
/// A paragraph of text.
@@ -24,4 +25,7 @@ pub struct Text<'a> {
/// The vertical alignment of the [`Text`].
pub vertical_alignment: alignment::Vertical,
+
+ /// The shaping strategy of the text.
+ pub shaping: text::Shaping,
}