fontlabapp.studios.outline_doctor.fixes · declarations 001
Back to fontlabapp.studios.outline_doctor.fixes
CLOSE
module-attribute
CLOSE
OPEN_NOTE
module-attribute
OPEN_NOTE
OPEN_TT_NOTE
module-attribute
OPEN_TT_NOTE
SMOOTH_NOTE
module-attribute
SMOOTH_NOTE
UNSUPPORTED_NOTE
module-attribute
UNSUPPORTED_NOTE
advise_overlap
advise_overlap(layer: Any, edits: list) -> list[str]
Remove Overlap's save-risk advice: a raw-Smooth final off-curve the merge introduced (fl#8517).
arc_length
arc_length(span: list[tuple[float, float]]) -> float
bezier
bezier(cubic: tuple, t: float) -> tuple[float, float]
chord_offset
chord_offset(point: tuple, a: tuple, b: tuple) -> tuple[float, float]
convert_plan
convert_plan(layer: Any, reference: Any, mode: str) -> list[Issue]
The shared planner of Curve All Straights ("curve") and Straighten All Curves ("line").
converted
converted(points: list, picked: list[int], mode: str) -> list
Ghost points: a line gains handles at its thirds; a curve loses both handles.
cubic_indices
cubic_indices(points: list) -> list[tuple[int, int, int, int]]
cubic_runs
cubic_runs(points: list) -> list[tuple[int, int, tuple]]
(segment number, start index, cubic) from points[0] (the original segments).
dropped
dropped(points: list, indices: set[int]) -> list
extreme_plan
extreme_plan(points: list) -> list[tuple[int, int, list[float]]]
extremes
extremes(p0: tuple, p1: tuple, p2: tuple, p3: tuple) -> list[float]
final_smooth_points
final_smooth_points(contours: Any) -> set[tuple[float, float]]
Coordinates of final off-curves of closed contours with raw Smooth (fl#8517); read only.
plan_curve_all
plan_duplicates
plan_extremes
plan_overlap
plan_overlap(layer: Any, options: Mapping[str, Any], context: Context, *, fontgate: Any = None) -> list[Issue]
plan_straighten_all
removal_edits
Attach the expected contour count of each shape to its removals.
replaced
replaced(points: list, changes: Mapping[int, tuple[float, float]]) -> list
retractions
retractions(contour: Any, selected_only: bool, selected: set[int] | None) -> list[tuple[Any, float, float]]
roots
roots(a: float, b: float, c: float) -> list[float]
same_cycle
same_cycle(a: list, b: list, tolerance: float) -> bool
snap
snap(value: float, grid: float) -> float
split
split(cubic: tuple, ts: list[float]) -> list[tuple[float, float, bool]]
Inner nodes after cutting cubic at every t (de Casteljau).
start_points
start_points(shape: Any) -> set[tuple[float, float]]
third
third(base: float, other: float) -> float
verify_close
verify_close(layer: Any, edits: list) -> list[str]
verify_counts
verify_counts(layer: Any, edits: list) -> list[str]
verify_curves
verify_curves(layer: Any, edits: list) -> list[str]