Merge pull request #2536 from CocosAss/v1.9-release

Wechat devTools add new warn concern about TTF  supported
This commit is contained in:
Jare Guo
2018-04-13 20:08:56 +08:00
committed by GitHub
+1
View File
@@ -501,6 +501,7 @@ _ccsg.Label = _ccsg.Node.extend({
//avoid the error in wechat devtool platform
if (!fontFamilyName) {
fontFamilyName = cc.CustomFontLoader._getFontFamily(fontHandle);
cc.warn("TTF font is not supported on debugger, but it will be displayed correctly on mobile device.");
}
callback();
} else {