This commit is contained in:
Nathan Sobo
2021-05-21 14:36:44 -06:00
parent b075b0108d
commit 2c122eb253
+1 -1
View File
@@ -231,7 +231,7 @@ impl FontSystemState {
let mut utf8_ix = 0;
let mut utf16_ix = 0;
for (run_len, font_id) in font_runs {
let utf8_end = utf16_ix + run_len;
let utf8_end = utf8_ix + run_len;
let utf16_start = utf16_ix;
while utf8_ix < utf8_end {
let (next_utf8_ix, next_utf16_ix) = utf8_and_utf16_ixs.next().unwrap();