jdk/src/share/native/sun/font/layout/CursiveAttachmentSubtables.cpp
changeset 18256 79d3f8278a38
parent 16891 91e99bed64ae
child 22330 cafb826672bd
equal deleted inserted replaced
18255:3bad8692f61c 18256:79d3f8278a38
    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;