提交 3ae44645 编写于 作者: E Ebrahim Byagowi

Fix caret_count value when AAT is disabled

Set caret_count to zero as that is what we want to happen inside lcar when
there is no result.
上级 a5aa67b9
......@@ -375,10 +375,14 @@ hb_ot_layout_get_ligature_carets (hb_font_t *font,
{
if (caret_count) *caret_count = result_caret_count;
}
#ifndef HB_NO_AAT
else
{
#ifndef HB_NO_AAT
result = font->face->table.lcar->get_lig_carets (font, direction, glyph, start_offset, caret_count, caret_array);
#else
if (caret_count) *caret_count = 0;
#endif
}
return result;
}
#endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册