Add TODO to fix bidi ordering when character wrapping
This commit is contained in:
parent
87c12b11ae
commit
6f7e59e092
1 changed files with 1 additions and 0 deletions
|
|
@ -605,6 +605,7 @@ impl ShapeLine {
|
||||||
let x_advance = font_size as f32 * glyph.x_advance;
|
let x_advance = font_size as f32 * glyph.x_advance;
|
||||||
let y_advance = font_size as f32 * glyph.y_advance;
|
let y_advance = font_size as f32 * glyph.y_advance;
|
||||||
|
|
||||||
|
//TODO: fix ordering when in bidi text
|
||||||
let glyph_wrap = if self.rtl {
|
let glyph_wrap = if self.rtl {
|
||||||
x - x_advance < end_x
|
x - x_advance < end_x
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue