Merge pull request #202 from TotalKrill/shaping_basic_color_fix

refresh the attrs more often in basic shaping
This commit is contained in:
Jeremy Soller 2023-11-17 06:48:31 -08:00 committed by GitHub
commit e6987adb53
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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,