Function isMeasureTextSupported