Figma distributes leading equally above and below text. CanvasKit defaults to ascent-biased leading. halfLeading: true fixes this but must only apply to rendering (drawParagraph), not measureTextNode — otherwise measured sizes change and break grid layouts. |
||
|---|---|---|
| .. | ||
| src | ||
| package.json | ||
| tsconfig.json | ||