fontlab_fontport.recipes
recipes
Small recipes using the real fontPens and fontTools implementations.
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 |
|---|---|---|---|
bounds |
function | (glyph, glyph_set=None) |
|
control_bounds |
function | (glyph, glyph_set=None) |
FontLab boundingBox includes off-curve controls, not just curve extrema. |
digest |
function | (glyph) |
|
flatten |
function | (font, source, destination, *, approximate_segment_length=10) |
Commit once on the integer grid; <=0.5-unit error per coordinate. |
parse_features |
function | (text, glyph_names, *, classes=None) |
Parse native code with separate native OT classes; never mutate code. |
transform_into |
function | (font, source, destination, transformation) |