#include "util/FGrp_UtilTemplate.h"
//#define USE_FONTCONFIG
+//#define APPLY_BOLD_SPACE
#define SYNCHRONIZATION_2_0
#define __pNativeFont __sharedFont.get()
_IFont::Property property;
GET_FONT_PROPERTY(property, false);
+#ifdef APPLY_BOLD_SPACE
if (__fontAttrib.style & FONT_STYLE_BOLD && property.weightClass < _MEDIUM_FONT_BOLD_WEIGHT)
{
_IFont::Attrib attr;
pThis->GetAttrib(attr);
boldSpace = static_cast<int>(attr.boldWeight.ToFloat() + 0.5f);
}
+#endif
const wchar_t* pText = text.pStart;
int length = text.length;
}
}
+#ifdef APPLY_BOLD_SPACE
_IFont::Property property;
GET_FONT_PROPERTY(property, false);
pThis->GetAttrib(attr);
boldSpace = static_cast<int>(attr.boldWeight.ToFloat() + 0.5f);
}
+#endif
const wchar_t* pText = text.pStart;
int length = text.length;
}
#endif
+#ifdef APPLY_BOLD_SPACE
_IFont::Property property;
GET_FONT_PROPERTY(property, false);
boldSpace = static_cast<int>(attr.boldWeight.ToFloat() + 0.5f);
}
}
+#endif
int curX = 0;
int curY = 0;
}
}
+#ifdef APPLY_BOLD_SPACE
_IFont::Property property;
GET_FONT_PROPERTY(property, false);
this->GetAttrib(attr);
boldSpace = static_cast<int>(attr.boldWeight.ToFloat() + 0.5f);
}
+#endif
const wchar_t* pText = text.pStart;
int length = text.length;