servo/components/fonts
Mukilan Thiyagarajan 56840e0a35
script: add skeleton implementation of FontFace API (#35262)
This patch implements the `FontFace` interface, but with some caveats

1. The interface is only exposed on `Window`. Support for Workers will
   be handled in the future.
2. The concept of `css-connected` `FontFace` is not implemented, so
   `@font-face` rules in stylesheets will not be represented in the DOM.
3. The constructor only supports using `url()` strings as source
   and `ArrayBuffer` and `ArrayBufferView` are not supported yet.

A skeleton implementation of the `load` method of `FontFaceSet` is also
implemented in this patch. The intention is to support some web pages
that don't load without this method.

Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>
2025-02-19 05:50:01 +00:00
..
platform Fix some clippy issues on the Android build (#35147) 2025-01-23 15:18:58 +00:00
tests fonts: fix broken caching of font template matches (#34325) 2024-11-21 12:23:14 +00:00
Cargo.toml deps: Remove some unused Cargo.toml (#35466) 2025-02-14 15:33:14 +00:00
font.rs Additional tracing for flex layout, inline layout, and fonts (#34392) 2024-11-27 02:44:06 +00:00
font_context.rs script: add skeleton implementation of FontFace API (#35262) 2025-02-19 05:50:01 +00:00
font_store.rs script: add skeleton implementation of FontFace API (#35262) 2025-02-19 05:50:01 +00:00
font_template.rs script: add skeleton implementation of FontFace API (#35262) 2025-02-19 05:50:01 +00:00
glyph.rs Upgrade rustc to 1.83 (#34793) 2025-01-01 09:38:28 +00:00
lib.rs clippy: Fix issues in components/fonts and ports/servoshell (#33809) 2024-10-11 17:23:38 +00:00
shaper.rs clippy: Add safety documentation and clean up unsafe methods (#33748) 2024-10-16 08:11:31 +00:00
system_font_service.rs script: add skeleton implementation of FontFace API (#35262) 2025-02-19 05:50:01 +00:00