Change-Id: I232f1ba17e7299407591fdbc56df446c592dae83
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
description.family = FontFamily( ftFace->family_name );
// Note FreeType doesn't give too much info to build a proper font style.
- if( ftFace->style_flags | FT_STYLE_FLAG_ITALIC )
+ if( ftFace->style_flags & FT_STYLE_FLAG_ITALIC )
{
description.slant = FontSlant::ITALIC;
}
- if( ftFace->style_flags | FT_STYLE_FLAG_BOLD )
+ if( ftFace->style_flags & FT_STYLE_FLAG_BOLD )
{
description.weight = FontWeight::BOLD;
}