fix jsb bmfont error

This commit is contained in:
zilongshanren
2016-03-09 11:52:27 +08:00
parent 2f2535fe35
commit 3ee39c07d0
+2 -1
View File
@@ -123,7 +123,8 @@ jsbLabel.prototype.setFontFileOrFamily = function (fontHandle) {
this.setTTFConfig(this._ttfConfig);
} else if (extName === '.fnt') {
this._labelType = _ccsg.Label.Type.BMFont;
this.setBMFontFilePath(fontHandle, cc.v2(0, 0), this.getBMFontSize());
this.setBMFontFilePath(fontHandle);
this.setFontSize(this.getFontSize());
}
}
};