Skip to content

Commit

Permalink
refresh the attrs more often in basic shaping, or colors are not upda…
Browse files Browse the repository at this point in the history
…ted correctly
  • Loading branch information
TotalKrill committed Nov 16, 2023
1 parent 48675af commit d242307
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/shape.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit d242307

Please sign in to comment.