Make basic text shaping the default shaping strategy
This commit is contained in:
parent
57a276e165
commit
33b5a90019
24 changed files with 140 additions and 10 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue