Implement @font-face: parsing, font loading, and registry integration
Add support for @font-face CSS rules to load and use web fonts:
- CSS parser: parse @font-face blocks with font-family, src (url() with
optional format()), font-weight (normal/bold/numeric), font-style
(normal/italic/oblique), and font-display descriptors
- Text crate: extend FontRegistry with web font registration from raw
bytes, with web fonts taking priority over system fonts in lookups
- Browser crate: new font_loader module that collects @font-face rules
from stylesheets, fetches font files via the resource loader, and
registers them in the FontRegistry
- Integration: page loading pipeline now loads web fonts after CSS
collection, and the rendering font is selected from the registry
(preferring web fonts when available)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>