Skip to content

fontlabapp.glyphs.catalog.model · declarations 001

Back to fontlabapp.glyphs.catalog.model

capture

capture(*, deadline: float | None = None) -> Any

Read the glyph names, Unicode values and dates of the current font.

What: return an immutable fontlabapp.qt.tables.filter.model.Table with the columns "Glyph name", "Unicode" and "Modified" in font order. rows holds (name, "U+0041 U+00C1", "yyyy-MM-dd HH:mm:ss") tuples and epochs holds the modification instants (None when unset).

How: the private _glyph_catalog_native.capture reads the whole font twice from FontGate records mapped by package.findFgId. It never reads flGlyph.fgGlyph. A change between the reads rejects the whole result.

Use: call it on the main UI thread. deadline is a time.monotonic() instant; the default budget is two seconds. It raises ValueError with no open font or a changed font, TimeoutError after the deadline and RuntimeError off the main thread. It writes nothing. Native preservation is not proved by offline tests.

show_basic

show_basic() -> Any

Open the complete basic native Qt source/proxy filtering lesson.

show_custom

show_custom() -> Any

Open the complete custom matching, inclusive dates and ordering lesson.

show_official_basic

show_official_basic() -> Any

Open complete part3 basic matching over real names, Unicode and Qt dates.

show_official_custom

show_official_custom() -> Any

Open complete part3 native-regexp, date-range and comparator workflow.