Make basic text shaping the default shaping strategy

This commit is contained in:
Héctor Ramón Jiménez 2023-04-19 01:19:56 +02:00
parent 57a276e165
commit 33b5a90019
No known key found for this signature in database
GPG key ID: 140CC052C94F138E
24 changed files with 140 additions and 10 deletions

View file

@ -62,6 +62,7 @@ impl text::Renderer for Null {
_size: f32,
_font: Font,
_bounds: Size,
_needs_shaping: bool,
) -> (f32, f32) {
(0.0, 20.0)
}
@ -74,6 +75,7 @@ impl text::Renderer for Null {
_bounds: Size,
_point: Point,
_nearest_only: bool,
_advanced_shape: bool,
) -> Option<text::Hit> {
None
}