Add TODO to fix bidi ordering when character wrapping

This commit is contained in:
Jeremy Soller 2022-10-26 20:14:27 -06:00
parent 87c12b11ae
commit 6f7e59e092

View file

@ -605,6 +605,7 @@ impl ShapeLine {
let x_advance = font_size as f32 * glyph.x_advance;
let y_advance = font_size as f32 * glyph.y_advance;
//TODO: fix ordering when in bidi text
let glyph_wrap = if self.rtl {
x - x_advance < end_x
} else {