MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / appendFont

Method appendFont

tools/mcmanifest.js:2244–2252  ·  view source on GitHub ↗
(name, path, include, suffix)

Source from the content-addressed store, hash-verified

2242 }
2243 }
2244 appendFont(name, path, include, suffix) {
2245 var tool = this.tool;
2246 if (suffix == "-mask") {
2247 this.appendFile(tool.bmpFontFiles, name + ".bf4", path, include);
2248 return false;
2249 }
2250 this.appendFile(tool.resourcesFiles, name + ".fnt", path, include);
2251 return true;
2252 }
2253 appendFramework(files, target, source, include) {
2254 this.count++;
2255 source = this.tool.resolveDirectoryPath(source);

Callers 1

appendSourceMethod · 0.95

Calls 1

appendFileMethod · 0.45

Tested by

no test coverage detected