design_get_font_metrics
Retrieve detailed metrics for a registered font—including ascender, descender, xHeight, capHeight, available weights, and kerning pair count—to inform generative art layouts.
Instructions
Return detailed metrics for a registered font: ascender, descender, xHeight, capHeight, available weights, and kerning pair count.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| weight | No | Specific weight to query (default: 400). | |
| fontFamily | Yes | Font family name. |