8140543: Arrange font actions
Reviewed-by: prr, srl, mschoene
This commit is contained in:
parent
11af905b18
commit
f03a55be9e
@ -76,11 +76,11 @@ ByteOffset IndicRearrangementProcessor::processStateEntry(LEGlyphStorage &glyphS
|
||||
}
|
||||
|
||||
if (flags & irfMarkFirst) {
|
||||
firstGlyph = (le_uint32)currGlyph;
|
||||
firstGlyph = currGlyph;
|
||||
}
|
||||
|
||||
if (flags & irfMarkLast) {
|
||||
lastGlyph = (le_uint32)currGlyph;
|
||||
lastGlyph = currGlyph;
|
||||
}
|
||||
|
||||
doRearrangementAction(glyphStorage, (IndicRearrangementVerb) (flags & irfVerbMask), success);
|
||||
@ -118,7 +118,7 @@ void IndicRearrangementProcessor::doRearrangementAction(LEGlyphStorage &glyphSto
|
||||
if (firstGlyph == lastGlyph) break;
|
||||
if (firstGlyph + 1 < firstGlyph) {
|
||||
success = LE_INDEX_OUT_OF_BOUNDS_ERROR;
|
||||
break;
|
||||
break;
|
||||
}
|
||||
a = glyphStorage[firstGlyph];
|
||||
ia = glyphStorage.getCharIndex(firstGlyph, success);
|
||||
|
@ -76,8 +76,8 @@ public:
|
||||
static UClassID getStaticClassID();
|
||||
|
||||
protected:
|
||||
le_uint32 firstGlyph;
|
||||
le_uint32 lastGlyph;
|
||||
le_int32 firstGlyph;
|
||||
le_int32 lastGlyph;
|
||||
|
||||
LEReferenceTo<IndicRearrangementSubtableHeader> indicRearrangementSubtableHeader;
|
||||
LEReferenceToArrayOf<IndicRearrangementStateEntry> entryTable;
|
||||
|
@ -74,11 +74,11 @@ le_uint16 IndicRearrangementProcessor2::processStateEntry(LEGlyphStorage &glyphS
|
||||
}
|
||||
|
||||
if (flags & irfMarkFirst) {
|
||||
firstGlyph = (le_uint32)currGlyph;
|
||||
firstGlyph = currGlyph;
|
||||
}
|
||||
|
||||
if (flags & irfMarkLast) {
|
||||
lastGlyph = (le_uint32)currGlyph;
|
||||
lastGlyph = currGlyph;
|
||||
}
|
||||
|
||||
doRearrangementAction(glyphStorage, (IndicRearrangementVerb) (flags & irfVerbMask), success);
|
||||
@ -115,7 +115,7 @@ void IndicRearrangementProcessor2::doRearrangementAction(LEGlyphStorage &glyphSt
|
||||
if (firstGlyph == lastGlyph) break;
|
||||
if (firstGlyph + 1 < firstGlyph) {
|
||||
success = LE_INDEX_OUT_OF_BOUNDS_ERROR;
|
||||
break;
|
||||
break;
|
||||
}
|
||||
a = glyphStorage[firstGlyph];
|
||||
ia = glyphStorage.getCharIndex(firstGlyph, success);
|
||||
|
@ -76,8 +76,8 @@ public:
|
||||
static UClassID getStaticClassID();
|
||||
|
||||
protected:
|
||||
le_uint32 firstGlyph;
|
||||
le_uint32 lastGlyph;
|
||||
le_int32 firstGlyph;
|
||||
le_int32 lastGlyph;
|
||||
|
||||
LEReferenceToArrayOf<IndicRearrangementStateEntry2> entryTable;
|
||||
LEReferenceTo<IndicRearrangementSubtableHeader2> indicRearrangementSubtableHeader;
|
||||
|
Loading…
x
Reference in New Issue
Block a user