MCPcopy
hub / github.com/CapSoftware/Cap / fontFamily

Function fontFamily

apps/desktop/src/routes/editor/CaptionOverlay.tsx:25–29  ·  view source on GitHub ↗
(font: string)

Source from the content-addressed store, hash-verified

23}
24
25function fontFamily(font: string) {
26 if (font === "System Serif") return "serif";
27 if (font === "System Monospace") return "monospace";
28 return "system-ui, sans-serif";
29}
30
31function positionYFactor(position: string) {
32 switch (position) {

Callers 1

CaptionOverlayFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected