MCPcopy Create free account
hub / github.com/wavetermdev/waveterm / addToFontFaceSet

Function addToFontFaceSet

frontend/util/fontutil.ts:9–12  ·  view source on GitHub ↗
(fontFaceSet: FontFaceSet, fontFace: FontFace)

Source from the content-addressed store, hash-verified

7let isInterFontLoaded = false;
8
9function addToFontFaceSet(fontFaceSet: FontFaceSet, fontFace: FontFace) {
10 // any cast to work around typing issue
11 (fontFaceSet as any).add(fontFace);
12}
13
14function loadJetBrainsMonoFont() {
15 if (isJetBrainsMonoLoaded) {

Callers 3

loadJetBrainsMonoFontFunction · 0.85
loadHackNerdFontFunction · 0.85
loadInterFontFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected