HTML5 not support ttf file.
should modify setFontName too.
setFontName: function (fontName) {
fontName = this._getRealName(fontName);//FWH:ADD
if (this._fontName && this._fontName != fontName ) {
this._fontName = fontName;
this._fontStyleStr = this._fontSize + “px '” + fontName + “’”;
this._fontClientHeight = cc.LabelTTF.__getFontHeightByDiv(fontName,this._fontSize);
// Force update
this._needUpdateTexture = true;
}
}
win32 not support Ttf TTf …
winrt& wp8 not compatible with other version.
IOS should make config with info.plist
Linux is ok.
win32.jpg (118.4 KB)
winrt.jpg (54.5 KB)
html5.1.jpg (50.6 KB)
ios.jpg (118.2 KB)