Only do glyph wrapping if wrap_simple is enabled
This commit is contained in:
parent
6660a1d95b
commit
f5968c4c37
1 changed files with 1 additions and 1 deletions
|
|
@ -620,7 +620,7 @@ impl ShapeLine {
|
||||||
x + x_advance > end_x
|
x + x_advance > end_x
|
||||||
};
|
};
|
||||||
|
|
||||||
if glyph_wrap && ! glyphs.is_empty() {
|
if glyph_wrap && wrap_simple && ! glyphs.is_empty() {
|
||||||
let mut glyphs_swap = Vec::new();
|
let mut glyphs_swap = Vec::new();
|
||||||
mem::swap(&mut glyphs, &mut glyphs_swap);
|
mem::swap(&mut glyphs, &mut glyphs_swap);
|
||||||
layout_lines.push(
|
layout_lines.push(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue