fontlabapp.masters.angles.model
model
Stage master italic angles and apply one native masters-container history row.
Native imports stay lazy. Complete source values, font identity, master order and current master are checked before history. A native partial-write error remains in the one named history batch so the caller can invalidate the panel and Undo. The original writer's notifying master restoration is required for native caches.
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 |
|---|---|---|---|
DEFAULT_BLUE_SCALE |
attribute | ||
HISTORY_COMPACT_LIMIT |
attribute | ||
HISTORY_HINT_DIGITS |
attribute | ||
MAX_ANGLE |
attribute | ||
MIN_ANGLE |
attribute | ||
NATIVE_INT_LIMIT |
attribute | ||
apply |
function | (snapshot: AngleSnapshot, proposed: dict[str, float], *, undo_name: str='Italic Angle') -> list[str] |
Apply finite in-range angles in font order, returning only changed masters. |
capture |
function | (package: Any) -> AngleSnapshot |
Read every ordered master angle and restore the original master on failure. |
history_preserves_blue_scale |
function | (value: float, inherited: float=DEFAULT_BLUE_SCALE) -> bool |
Refuse the measured native decimal/binary32 hinting loss (FontLab #8531). |
write_angles |
function | (package: Any, angles: dict[str, float]) -> list[str] |
Preserve the original direct helper while repeating the complete source guard. |