refresh the attrs more often in basic shaping, or colors are not updated correctly

This commit is contained in:
Kristoffer Ödmark 2023-11-16 21:47:41 +01:00
parent 48675af079
commit d242307b6d

View file

@ -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,