servo/components/fonts
Martin Robinson 0e616e0c5d
api: Flatten and simplify Servo preferences (#34966)
Flatten and simplify Servo's preferences code. In addition, have both
preferences and options passed in as arguments to `Servo::new()` and
make sure not to use the globally set preferences in `servoshell` (as
much as possible now).

Instead of a complex procedural macro to generate preferences, just
expose a very simple derive macro that adds string based getters and
setters.

- All command-line parsing is moved to servoshell.
- There is no longer the concept of a missing preference.
- Preferences no longer have to be part of the resources bundle because
  they now have reasonable default values.
- servoshell specific preferences are no longer part of the preferences
  exposed by the Servo API.

Signed-off-by: Martin Robinson <mrobinson@igalia.com>
2025-01-14 13:54:06 +00:00
..
platform ohos: fonts: Fix HalfwidthandFullwidthForms font fallback (#34410) 2024-11-28 11:03:05 +00:00
tests fonts: fix broken caching of font template matches (#34325) 2024-11-21 12:23:14 +00:00
Cargo.toml Remove some unused dependencies (#34355) 2024-11-25 10:29:58 +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 net: Use RequestId to cancel fetches instead of creating an IPC channel (#34883) 2025-01-11 11:49:22 +00:00
font_store.rs fonts: Instantiate system fonts using system font loaders (#33747) 2024-10-10 23:09:51 +00:00
font_template.rs fonts: Simplify FontContext in two ways that affect the unit test (#33541) 2024-09-25 20:15:47 +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 api: Flatten and simplify Servo preferences (#34966) 2025-01-14 13:54:06 +00:00