Skip to content

typerig.proxy.fl.objects.cjk

cjk

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
GAUGE_KEYS attribute
STD_STEMS_LIB_KEY attribute
__version__ attribute (shared captured text)
capture_face_frames function (pg, layers) Snapshot per-master face (ink) bounds: {layer_name: (left,bottom,right,top)}.
compute_gauges function (geo, S=48, y_weight=1.05) Normalized gauge vector for one Geometry via the Qt raster + pure math.
frame_for function (package, layer_name, advance, upm) Em-square band in font units: x across the advance, y descender..ascender.
geometry_of function (pg, layer) Build a Geometry from a given pGlyph + flLayer.
get_geometry function () Current glyph / active layer -> Geometry, or None when nothing to probe.
layer_ink_bounds function (pg, layer_name) (left, bottom, right, top) of a layer's ink, or None if empty.
measure_part_stems function (tr_glyph, pg, axis_layers, fallback_stems=None, tol_frac=0.2, snap=True) Per-master (stx, sty) stems for a paste part, measured from its OWN contours.
measure_split function (pg, layer, idc, S=64) Measured ⿰/⿱ split of one glyph/layer as a face fraction, or None. idc must be '⿰' or '⿱'.
part_stem_candidates function (tr_glyph, layers) Diagnostics: {layer: (v_widths, h_widths)} raw stem-candidate widths that the detector found per master — inspect these when auto-stems looks off.
rasterize function (path, frame, S) Antialiased raster of a QPainterPath over the em-square frame.
read_std_stems_by_layer function (pg, layers, lib_key=STD_STEMS_LIB_KEY) Per-master standard hinting stems as {layer_name: [(value, 'V'|'H'), ...]}.
region_bounds function (pg, layers, frac_for_layer, captured_faces=None, use_face=True, upm=None, default_face=None, margin=None) Per-master target Bounds for an IDC-region paste — one entry per layer.
run_family_bands function (layer=None, names=None, S=48, max_outliers=20, progress_every=500) Compute family mean/sd bands for the current font (was batch_stats.run).
run_idc_zones function (idc_lookup, layer=None, names=None, S=64, progress_every=500) Measure structural ⿰/⿱ split zones for the current font (was idc_zones.run).