Glyph tracing

class retrofont.trace.Tracer

Glyph tracer.

get_paths()
Return type:

None

load(glyph)
Return type:

None

trace()
Return type:

None

retrofont.trace.get_lsb(paths)

Find the left-side border of a glyph.

Parameters:

paths (list[list[tuple[int, int]]]) – Glyph outlines.

Return type:

int

Returns:

Left-side border of the glyph.