refresh the attrs more often in basic shaping, or colors are not updated correctly
This commit is contained in:
parent
48675af079
commit
d242307b6d
1 changed files with 1 additions and 0 deletions
|
|
@ -345,6 +345,7 @@ fn shape_skip(
|
|||
.map(|(i, codepoint)| {
|
||||
let glyph_id = charmap.map(codepoint);
|
||||
let x_advance = glyph_metrics.advance_width(glyph_id);
|
||||
let attrs = attrs_list.get_span(i);
|
||||
|
||||
ShapeGlyph {
|
||||
start: i,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue