equal
deleted
inserted
replaced
43 { |
43 { |
44 LEGlyphID glyphID = glyphIterator->getCurrGlyphID(); |
44 LEGlyphID glyphID = glyphIterator->getCurrGlyphID(); |
45 le_int32 coverageIndex = getGlyphCoverage(base, glyphID, success); |
45 le_int32 coverageIndex = getGlyphCoverage(base, glyphID, success); |
46 le_uint16 eeCount = SWAPW(entryExitCount); |
46 le_uint16 eeCount = SWAPW(entryExitCount); |
47 |
47 |
48 if (coverageIndex < 0 || coverageIndex >= eeCount) { |
48 if (coverageIndex < 0 || coverageIndex >= eeCount || LE_FAILURE(success)) { |
49 glyphIterator->setCursiveGlyph(); |
49 glyphIterator->setCursiveGlyph(); |
50 return 0; |
50 return 0; |
51 } |
51 } |
52 |
52 |
53 LEPoint entryAnchor, exitAnchor; |
53 LEPoint entryAnchor, exitAnchor; |