Add Auto strategy to text::Shaping
This commit is contained in:
parent
d31a7b6ae8
commit
bc7d64987e
8 changed files with 47 additions and 11 deletions
|
|
@ -55,7 +55,7 @@ impl Cache {
|
|||
font_system,
|
||||
key.content,
|
||||
&text::to_attributes(key.font),
|
||||
text::to_shaping(key.shaping),
|
||||
text::to_shaping(key.shaping, key.content),
|
||||
);
|
||||
|
||||
let bounds = text::align(&mut buffer, font_system, key.align_x);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue