Todas las versiones v0.1.13013 Ago 2026Renderizado, API web y DOM Feed

Las notas de versión están escritas en inglés.

Variable web fonts now render at the weight the page asks for

Most modern sites ship ONE variable font file (Inter, Roboto Flex and the like) that spans every weight, and set font-weight in CSS to pick one. The engine had no variation support for downloaded fonts, so it drew the default instance for every weight: font-weight 300 and 600 both came out at 400, making light text too heavy and bold text too light. Now, when a web font carries a weight axis, the engine bakes a real static instance at each standard weight inside the font's range and registers them as the family's actual weights, so the existing weight matching lands on true 300, 600, 700 outlines and advances. This reuses the same instancer that already fixed the macOS system font, now pointed at downloaded fonts too, and is the web-font half of the largest remaining source of felt text difference on modern sites. Non-variable fonts are untouched. Paint moves 95 to 96; overall holds at 52.

Qué cambió

3 cambios
  1. API web y DOMVariable web-font instancing (engine-shot: load_web_fonts + varfont::axis_range/wght_buckets): a downloaded font with a wght axis is baked into a static glyf/loca/hmtx instance at each standard CSS weight (100..900) inside its axis range, each registered as a real family weight so nearest-weight selection resolves font-weight to true outlines instead of the default instance.
  2. RenderizadoReuses the existing, tested instancer (glyf re-encode via gvar deltas + HVAR advances) that already corrected the system font; CFF/OTF variable fonts fall through to the default instance (glyf-only re-encode), a no-op rather than a regression, and non-variable fonts skip the path entirely.
  3. RenderizadoProven: instancing the same face at weight 300 vs 700 yields distinct, correctly-ordered glyph advances; whole conformance suite unchanged (6375/6375).
Todo desde la v0.1.130 en un solo lugar

Versiones

v0.1.0 - 0.1.9 · 10 Jul 2026418v0.1.427 · 25 Nov 2026