servo/components/config
Martin Robinson 77e9e3deba
fonts: Add support for generic font families and font size configuration (#32673)
This adds support for generic font families in Servo and allows for
configuration of them as well as their default font sizes. One
interesting fix here is that now monospace default to 13px, like it does
in other browsers.

In addition to that, this exposes a new interface in Stylo which allows
setting a default style. This is quite useful for fonts, but also for
other kinds of default style settings -- like text zoom.

Fixes #8371.
Fixes #14773.

Signed-off-by: Martin Robinson <mrobinson@igalia.com>
Co-authored-by: Mukilan Thiyagarajan <mukilan@igalia.com>
2024-07-08 17:17:48 +00:00
..
tests Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
basedir.rs clippy: fix warnings in components/config* (#31562) 2024-03-08 07:15:56 +00:00
Cargo.toml Use workspace definitions for all crates and update to the 2021 edition (#32544) 2024-06-18 09:22:08 +00:00
lib.rs remove extern crate (#30311) 2023-09-08 12:11:31 +00:00
opts.rs compositor: Remove the is_running_problem_test setting (#31589) 2024-03-09 02:29:43 +00:00
pref_util.rs clippy: Fix warnings in shared and config, fonts, layout, and layout_2020 components (#32674) 2024-07-04 14:18:58 +00:00
prefs.rs fonts: Add support for generic font families and font size configuration (#32673) 2024-07-08 17:17:48 +00:00