function calculateTextStyle(_helper, item) {
    if (item instanceof _pixi_text__WEBPACK_IMPORTED_MODULE_5__.TextStyle) {
        var font = item.toFontString();
        _pixi_text__WEBPACK_IMPORTED_MODULE_5__.TextMetrics.measureFont(font);
        return true;
    }
    return false;
}
Built-in hook to calculate a text style for a PIXI.Text object.
@private
@param _helper - Not used by this upload handler
@param item - Item to check
@returns If item was uploaded.