Merge pull request #202 from TotalKrill/shaping_basic_color_fix
refresh the attrs more often in basic shaping
This commit is contained in:
commit
e6987adb53
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