Module metrics

Source
Expand description

Autohinting specific metrics.

Modulesยง

blues ๐Ÿ”’
Latin blue values.
scale ๐Ÿ”’
Metrics scaling.
widths ๐Ÿ”’
Latin standard stem width computation.

Structsยง

Scale ๐Ÿ”’
Captures scaling parameters which may be modified during metrics computation.
ScaledAxisMetrics ๐Ÿ”’
Scaled metrics for a single axis.
ScaledStyleMetrics ๐Ÿ”’
Scaled metrics for a single style and script.
ScaledWidth ๐Ÿ”’
UnscaledAxisMetrics ๐Ÿ”’
Unscaled metrics for a single axis.
UnscaledStyleMetrics ๐Ÿ”’
Unscaled metrics for a single style and script.
WidthMetrics ๐Ÿ”’

Enumsยง

UnscaledStyleMetricsSet ๐Ÿ”’
The set of unscaled style metrics for a single font.

Constantsยง

MAX_WIDTHS ๐Ÿ”’
Maximum number of widths, same for Latin and CJK.

Functionsยง

fixed_div ๐Ÿ”’
fixed_mul ๐Ÿ”’
fixed_mul_div ๐Ÿ”’
pix_floor ๐Ÿ”’
pix_round ๐Ÿ”’
sort_and_quantize_widths ๐Ÿ”’

Type Aliasesยง

ScaledWidths ๐Ÿ”’
UnscaledWidths ๐Ÿ”’