fontlab_instamix.wrap
wrap
Wrap a script or folder of scripts into a .fontlabext and .fontlabextz.
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 |
|---|---|---|---|
PLUGIN_KINDS |
attribute | ||
SCRIPT_SUFFIXES |
attribute | ||
make_folder |
function | (source: Path, out_dir: Path, ext_id: str, *, name: str | None=None, version: str='0.1.0') -> Path |
Create <code><out_dir>/<ext_id>.fontlabext</code><code> with </code><code>source</code><code> under </code><code>scripts/</code>. |
make_plugin |
function | (source: Path, out_dir: Path, ext_id: str, *, plugin_id: str, name: str, kind: str, entry: str, min_app_versi⦠|
Package an App-compatible draft, without executing or adapting its code. |
make_zip |
function | (folders: list[Path], zip_path: Path) -> Path |
Zip <code>.fontlabext</code> folders (the folders themselves, not their contents). |
slug |
function | (text: str) -> str |
Lowercase id part from free text. |