{
FT_Face ftFace = mFontCache[fontId-1].mFreeTypeFace;
+#ifdef FREETYPE_BITMAP_SUPPORT
// Check to see if we should be loading a Fixed Size bitmap?
if ( mFontCache[fontId-1].mIsFixedSizeBitmap )
{
}
}
else
+#endif
{
int error = FT_Load_Glyph( ftFace, array[i].index, FT_LOAD_DEFAULT );
FT_Error error;
+#ifdef FREETYPE_BITMAP_SUPPORT
// Check to see if this is fixed size bitmap
if ( mFontCache[fontId-1].mIsFixedSizeBitmap )
{
error = FT_Load_Glyph( ftFace, glyphIndex, FT_LOAD_COLOR );
}
else
+#endif
{
error = FT_Load_Glyph( ftFace, glyphIndex, FT_LOAD_DEFAULT );
}
break;
}
+#ifdef FREETYPE_BITMAP_SUPPORT
case FT_PIXEL_MODE_BGRA:
{
if ( srcBitmap.pitch == static_cast< int >( srcBitmap.width << 2 ) )
}
break;
}
+#endif
default:
{
DALI_LOG_ERROR( "FontClient Unable to create Bitmap of this PixelType\n" );