[unsafe-to-concat] Adjust MarkBasePos
A couple more aots tests down. Four failing: 209/401 harfbuzz:shaping+aots / gpos6 FAIL 0.06s exit status 1 261/401 harfbuzz:shaping+aots / gsub4_1_multiple_ligatures FAIL 0.07s exit status 1 265/401 harfbuzz:shaping+aots / lookupflag_ignore_attach FAIL 0.07s exit status 1 267/401 harfbuzz:shaping+aots / lookupflag_ignore_combination FAIL 0.07s exit status 1
This commit is contained in:
parent
95d052a791
commit
b443898cce
|
@ -2183,7 +2183,11 @@ struct MarkBasePosFormat1
|
||||||
//if (!_hb_glyph_info_is_base_glyph (&buffer->info[skippy_iter.idx])) { return_trace (false); }
|
//if (!_hb_glyph_info_is_base_glyph (&buffer->info[skippy_iter.idx])) { return_trace (false); }
|
||||||
|
|
||||||
unsigned int base_index = (this+baseCoverage).get_coverage (buffer->info[skippy_iter.idx].codepoint);
|
unsigned int base_index = (this+baseCoverage).get_coverage (buffer->info[skippy_iter.idx].codepoint);
|
||||||
if (base_index == NOT_COVERED) return_trace (false);
|
if (base_index == NOT_COVERED)
|
||||||
|
{
|
||||||
|
buffer->unsafe_to_concat_from_outbuffer (skippy_iter.idx, buffer->idx + 1);
|
||||||
|
return_trace (false);
|
||||||
|
}
|
||||||
|
|
||||||
return_trace ((this+markArray).apply (c, mark_index, base_index, this+baseArray, classCount, skippy_iter.idx));
|
return_trace ((this+markArray).apply (c, mark_index, base_index, this+baseArray, classCount, skippy_iter.idx));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue