Lines Matching refs:customFonts
3950 function ChangeExtFonts(ui, extFonts, customFonts) argument
3955 this.customFonts = customFonts;
3956 this.prevCustomFonts = customFonts;
3965 this.customFonts = this.prevCustomFonts;
3966 this.prevCustomFonts = this.ui.menus.customFonts;
3967 this.ui.fireEvent(new mxEventObject('customFontsChanged', 'customFonts', this.customFonts));
4057 for (var i = 0; i < this.customFonts.length; i++)
4059 if (this.customFonts[i].name == fontName &&
4060 this.customFonts[i].url == fontUrl)
4062 this.customFonts.splice(i, 1);
4085 var customFonts = mxUtils.clone(this.customFonts);
4087 for (var i = 0; i < customFonts.length; i++)
4089 if (customFonts[i].name == fontName)
4091 customFonts.splice(i, 1);
4096 var change = new ChangeExtFonts(this.editorUi, extFonts, customFonts);
4169 for (var i = 0; i < this.customFonts.length; i++)
4171 addEntry(this.customFonts[i]);
4211 this.customFonts = [];
4227 for (var i = 0; i < this.customFonts.length; i++)
4229 custMap[this.customFonts[i].name] = true;
4236 this.customFonts.push(extFonts[i]);
4243 … this.editorUi.fireEvent(new mxEventObject('customFontsChanged', 'customFonts', this.customFonts));
4247 if (this.customFonts.length > 0)
4249 for (var i = 0; i < this.customFonts.length; i++)
4251 var name = this.customFonts[i].name, url = this.customFonts[i].url;
4420 for (var i = 0; i < this.customFonts.length; i++)
4422 if (this.customFonts[i].name == fontName)
4431 this.customFonts.push({name: fontName, url: fontUrl});
4432 … this.editorUi.fireEvent(new mxEventObject('customFontsChanged', 'customFonts', this.customFonts));