logicalModel->mBidirectionalParagraphInfo.Clear();
logicalModel->mCharacterDirections.Clear();
logicalModel->mBidirectionalLineInfo.Clear();
- logicalModel->mVisualToLogicalMap.Clear();
visualModel->mGlyphs.Clear();
visualModel->mGlyphsToCharacters.Clear();
visualModel->mCharactersToGlyph.Clear();
layoutParameters.lineBidirectionalInfoRunsBuffer = bidirectionalLineInfo.Begin();
layoutParameters.numberOfBidirectionalInfoRuns = bidirectionalLineInfo.Count();
- // Set the bidirectional info into the model.
- logicalModel->SetVisualToLogicalMap( 0u,
- numberOfCharacters );
-
if( options.reorder )
{
// Re-layout the text. Reorder those lines with right to left characters.