fontlab_fontport.operations · declarations 001
Back to fontlab_fontport.operations
transform_font
transform_font(source: Font, recipe: Recipe) -> Font
Transform all UFO layers without editing source or double-scaling bases.
Font metadata/features/lib/groups/kerning are retained. This is geometric transformation, not interpolation, metric rescaling or a font-build engine.
transform_glyph
transform_glyph(source: Glyph, recipe: Recipe) -> Glyph
Copy/transform one UFO glyph with unchanged component bases.
Anchors, guides, images and component matrices follow outlines. Advance widths/heights are scalar projections of transformed advance vectors; translation does not change spacing. Native hints are outside UFO geometry.