[]怎样复制bmf字体

在ide的ui编辑器中使用了bmf字体,然后把ide中的这个控件传到下列的函数中,发现新创建的label使用的并不是 ide中自己做的bmf字体。
 
 class cloneLabel extends Laya.Label {
constructor(_label) {
super();
this.align = _label.align;
this.x = _label.x;
this.y = _label.y;
this.width = _label.width;
this.height = _label.height;
this.fontSize = _label.fontSize;
this.color = _label.color;
this.font = _label.font;
}

}
已邀请:

要回复问题请先

商务合作
商务合作