mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Break text runs by unicode script
This commit is contained in:
parent
062493fac6
commit
371e6897e1
8 changed files with 51 additions and 1 deletions
|
@ -215,6 +215,8 @@ impl ShaperMethods for Shaper {
|
|||
HB_DIRECTION_LTR
|
||||
});
|
||||
|
||||
hb_buffer_set_script(hb_buffer, options.script.to_hb_script());
|
||||
|
||||
hb_buffer_add_utf8(hb_buffer,
|
||||
text.as_ptr() as *const c_char,
|
||||
text.len() as c_int,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue