Fix off by one in rtl layout
This commit is contained in:
parent
fd8ef6ea8d
commit
0b0ed1df68
3 changed files with 2 additions and 2 deletions
|
|
@ -66,6 +66,7 @@ impl<'a> FontShapeLine<'a> {
|
|||
line_i: self.line_i,
|
||||
glyphs: glyphs_swap
|
||||
});
|
||||
layout_i += 1;
|
||||
|
||||
x = line_width as f32 - x_advance;
|
||||
y = 0.0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue