Files
figcraft/crates/engine
Jindřich ŠaršonandClaude Opus 5.5 0244230e1a M6: .fig import sets a variable font's optical size to the text size
Figma sets a variable font's optical size to the text size (within the
axis), also for a named style; FigCraft keeps the named instance's (SF
Pro's is 28, its display cut), so imported SF Pro text at text sizes
came out about 14% narrower than in Figma. The .fig, paste and REST
imports now carry the size as the text's opsz value, as the .sketch
import already did (shared pass optical_size_follows_text_size).

Rule from the glyph advances Figma saves in derivedTextData, in a
real-world file and in a synthetic one saved from Figma's web app; Figma's
Inter has no optical size axis and keeps its advances at every size.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012eBDgsvRwsSRpWeWrzabVY
2026-11-21 00:09:15 +01:00
..