Documentation
¶
Overview ¶
Package fontcmd wires the font library to a command's props (spec 0057 D2/D4).
The CLI handlers stay thin over this: a handler resolves a library, asks it a question and prints the answer. Where the scopes live is one decision, made here, rather than repeated in six verbs.
Index ¶
Constants ¶
const ( Dir = fonts.Dir ProjectDir = fonts.ProjectDir )
Dir and ProjectDir moved to internal/fonts, so the object store can name the font kind's root without importing command wiring (0058 D4). Re-exported here because the font verbs already read naturally against this package.
Variables ¶
This section is empty.
Functions ¶
func Library ¶
Library builds the resolver for a command: the project's own fonts, the user's library, whatever the host has installed, and the faces embedded in the binary.
props.FS is used for BOTH the project and user scopes so the studio's in-memory projects resolve the same way an on-disk checkout does (0057 D5) — the render stack went to some trouble to stop depending on a real disk, and a font library that reached around it would put that back.
Types ¶
This section is empty.