Change-Id: I389195cf33b93cb56b3aa6a9884c4d4807f04ac3
Signed-off-by: Sungyeon Woo <s.woo@samsung.com>
result
_Font::__GetTextExtentList(_TextBidiPropertyWithReorder& bidiProperty, _Util::AccumList<_Util::Pair<int, int> >& outList) const
{
+ if (bidiProperty.length <= 0)
+ {
+ outList.Clear();
+
+ return E_SUCCESS;
+ }
+
_Util::AccumList<_Util::Pair<int, int> > tempList;
{
glyphList.GetAt(i, pGlyph);
// bug fixed in test case of L"\x9a8\x20\x981\x9a0\x635"
- if (pGlyph->xAdvance == 0 && pGlyph->image.width == 0)
- {
- continue;
- }
+ //if (pGlyph->xAdvance == 0 && pGlyph->image.width == 0)
+ //{
+ // continue;
+ //}
int prevX = xDest;
if (!auxInfo.isAvailable)
{
+ char* pFontGlyphData = new (std::nothrow) char[sizeof(_IFont::Glyph)];
+
+ if (pFontGlyphData)
+ {
+ memset(pFontGlyphData, 0, sizeof(_IFont::Glyph));
+ out.Add((_IFont::Glyph*) pFontGlyphData);
+ }
+
continue;
}