fontlab_instamix.dest
dest
Resolve manifest to rules into paths inside the FontLab data folder.
Rules (see PLAN.md): . and ./ mean the target root, {} is the
extension name without .fontlabext, {var} comes from manifest
vars, any other text is a subfolder. Unknown variables, .. and
\ or : inside a part (after expansion, on every platform) are
errors. The first path part names the target, matched case-insensitively.
Classes
Complete member index
Every captured member retains its own identity. Identical captured declaration text is linked once; this does not establish native inheritance or interchangeable objects.
| Member | Kind | Signature | Summary |
|---|---|---|---|
RESERVED |
attribute | ||
SITE_PACKAGES |
attribute | ||
TARGETS |
attribute | ||
expand |
function | (text: str, basename: str, variables: dict[str, str]) -> str |
Replace <code>{}</code><code> and </code><code>{var}</code><code> placeholders in </code><code>text</code>. |
resolve |
function | (rule: str, basename: str, variables: dict[str, str] | None=None, *, version: str | None=None) -> str |
Resolve <code>rule</code> to a POSIX path relative to the data folder. |
target_name |
function | (name: str) -> str |
Return the canonical target for <code>name</code> (case-insensitive). |
target_root |
function | (target: str, *, version: str | None=None) -> str |
Return the data-folder-relative directory of a canonical target. |