LineWrap::Mode wrapMode,
bool ellipsisEnabled,
DevelText::EllipsisPosition::Type ellipsisPosition,
- float lineSpacing)
+ float lineSpacing,
+ float characterSpacing)
{
textModel = Model::New(); ///< Pointer to the text's model.
LogicalModelPtr logicalModel = textModel->mLogicalModel;
logicalModel->mAnchors,
logicalModel->mUnderlinedCharacterRuns,
logicalModel->mBackgroundColorRuns,
- logicalModel->mStrikethroughCharacterRuns);
+ logicalModel->mStrikethroughCharacterRuns,
+ logicalModel->mBoundedParagraphRuns);
Length textSize = 0u;
const uint8_t* utf8 = NULL;
visualModel->CreateGlyphsPerCharacterTable(0u, 0u, characterCount);
visualModel->CreateCharacterToGlyphTable(0u, 0u, characterCount);
+ visualModel->SetCharacterSpacing(characterSpacing);
+
const Length numberOfGlyphs = glyphs.Count();
// 8) Get the glyph metrics