Skip to content

Commit

Permalink
Merge pull request #202 from TotalKrill/shaping_basic_color_fix
Browse files Browse the repository at this point in the history
refresh the attrs more often in basic shaping
  • Loading branch information
jackpot51 authored Nov 17, 2023
2 parents 48675af + d242307 commit e6987ad
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 e6987ad

Please sign in to comment.