ICU-4967 code review changes.

X-SVN-Rev: 19937
This commit is contained in:
Eric Mader 2006-07-31 21:03:36 +00:00
parent 681bb462e2
commit 79e7c706dd

View file

@ -412,6 +412,10 @@ le_int32 LayoutEngine::layoutChars(const LEUnicode chars[], le_int32 offset, le_
}
le_int32 glyphCount;
if (fGlyphStorage->getGlyphCount() > 0) {
fGlyphStorage->reset();
}
glyphCount = computeGlyphs(chars, offset, count, max, rightToLeft, *fGlyphStorage, success);
positionGlyphs(*fGlyphStorage, x, y, success);