Sets the font id to the glyphs when they are retrieved.
Change-Id: I50312207d0c4a6a0d7caa921263016ff523c2dbc
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
: mFreeTypeLibrary( NULL ),
mIndices(),
mAdvance(),
- mCharacterMap()
+ mCharacterMap(),
+ mFontId( 0u )
{
}
mIndices.Clear();
mAdvance.Clear();
mCharacterMap.Clear();
+ mFontId = fontId;
TextAbstraction::FontClient fontClient = TextAbstraction::FontClient::Get();
GlyphInfo& glyph = *( glyphInfo + index );
CharacterIndex& glyphToCharacter = *( glyphToCharacterMap + index );
+ glyph.fontId = mFontId;
glyph.index = *( indicesIt + index );
glyph.advance = *( advanceIt + index );
Vector<CharacterIndex> mIndices;
Vector<float> mAdvance;
Vector<CharacterIndex> mCharacterMap;
+ FontId mFontId;
};
Shaping::Shaping()