constFSlateFontInfoFont=FCoreStyle::GetDefaultFontStyle("Roboto",Size,FFontOutlineSettings::NoOutline);//get the font
constFVector2DTextSize=FontMeasureService->Measure(FString(UTF8_TO_TCHAR(Label->m_strText.c_str())),Font,1);//get the real size of the text, using the fontmeasuring service