Module scale

Source
Expand description

Metrics scaling.

Uses the widths and blues computations to generate unscaled metrics for a given style/script.

Then applies a scaling factor to those metrics, computes a potentially modified scale, and tags active blue zones.

Functionsยง

compute_unscaled_style_metrics ๐Ÿ”’
Computes unscaled metrics for the Latin writing system.
scale_cjk_axis_metrics ๐Ÿ”’
Computes scaled metrics for a single axis for the CJK script group.
scale_default_axis_metrics ๐Ÿ”’
Computes scaled metrics for a single axis.
scale_style_metrics ๐Ÿ”’
Computes scaled metrics for the Latin writing system.