Skip to content

fontlab_glyport.model.custom_info_discovery

custom_info_discovery

Pure, ordered custom-info discovery over explicit provider boundaries.

Qualified paths are canonical absolute POSIX strings. Providers supply platform enumeration (skipping hidden files, package contents and subfolders), alias/symlink resolution and URL construction; this module does not claim Foundation filesystem or arbitrary NSString parity.

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
URL attribute
candidate_folders function (path: str, *, home: str) -> list[str] The folder, its Info folder, the parent and its Info folder, in that order and without deduplication (the parent pair is omitted at home).
discover_folder function (path: str, *, entries: Callable[[str], Iterable[str] | None], resolve: Callable[[str], str | None], make_url… Filter before resolution, preserving nil, order and duplicate URLs.
discover_local function (folders: Iterable[str] | None, *, find_in_folder: Callable[[str], list[URL] | None]) -> list[URL] Concatenate the matches of each supplied folder; candidate creation is separate.
is_glyph_data_name function (name: str) -> bool <code>GlyphData.xml</code><code>, or </code><code>GlyphData&#95;&#42;.xml</code> (case-sensitive).