提交 8cb3b934 编写于 作者: P prr

8065286: Fewer subtable substitutions

Reviewed-by: bae, srl, mschoene
上级 7bc4112e
...@@ -71,6 +71,9 @@ le_uint32 MultipleSubstitutionSubtable::process(const LETableReference &base, Gl ...@@ -71,6 +71,9 @@ le_uint32 MultipleSubstitutionSubtable::process(const LETableReference &base, Gl
if (coverageIndex >= 0 && coverageIndex < seqCount) { if (coverageIndex >= 0 && coverageIndex < seqCount) {
Offset sequenceTableOffset = SWAPW(sequenceTableOffsetArray[coverageIndex]); Offset sequenceTableOffset = SWAPW(sequenceTableOffsetArray[coverageIndex]);
LEReferenceTo<SequenceTable> sequenceTable(base, success, sequenceTableOffset); LEReferenceTo<SequenceTable> sequenceTable(base, success, sequenceTableOffset);
if (LE_FAILURE(success)) {
return 0;
}
le_uint16 glyphCount = SWAPW(sequenceTable->glyphCount); le_uint16 glyphCount = SWAPW(sequenceTable->glyphCount);
if (glyphCount == 0) { if (glyphCount == 0) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册