Change-Id: I38c133fc8ef6b961d30f68bb70304f6099433a85
Signed-off-by: Sungyeon Woo <s.woo@samsung.com>
const unsigned long _INDEX_FIRST = 32; // in first resource, the first chracter(space)
const unsigned long _INDEX_COUNT = 95; // first resource character count
+const long _MEDIUM_FONT_BOLD_WEIGHT = 600;
+
bool
_CompareFamilyForTitling(const char* pFamilyName)
{
{
FT_Error errCode = 1;
- bool isSynthetic = (__fontAttrib.style & _IFont::STYLE_BOLD) && (__fontProperty.weightClass < 500);
+ bool isSynthetic = (__fontAttrib.style & _IFont::STYLE_BOLD) && (__fontProperty.weightClass < _MEDIUM_FONT_BOLD_WEIGHT);
if (isSynthetic)
{
FT_Error error = 1;
- bool isSynthetic = (__fontAttrib.style & _IFont::STYLE_BOLD) && (__fontProperty.weightClass < 500);
+ bool isSynthetic = (__fontAttrib.style & _IFont::STYLE_BOLD) && (__fontProperty.weightClass < _MEDIUM_FONT_BOLD_WEIGHT);
for (unsigned int i = 0; i < glyphList.GetCount(); i++)
{