servo/components
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
..
allocator Use workspace definitions for all crates and update to the 2021 edition (#32544) 2024-06-18 09:22:08 +00:00
background_hang_monitor Use workspace definitions for all crates and update to the 2021 edition (#32544) 2024-06-18 09:22:08 +00:00
bluetooth clippy: fix some warnings in desktop and some components (#32583) 2024-06-25 07:04:23 +00:00
canvas Add OpenHarmony support to servoshell (#32594) 2024-06-28 12:51:50 +00:00
compositing Set compositor's cursor_pos properly (#32718) 2024-07-08 07:41:27 +00:00
config fonts: Add support for generic font families and font size configuration (#32673) 2024-07-08 17:17:48 +00:00
config_plugins Use workspace definitions for all crates and update to the 2021 edition (#32544) 2024-06-18 09:22:08 +00:00
constellation clippy: Fix a bunch of warnings in script (#32680) 2024-07-04 11:40:23 +00:00
deny_public_fields Use workspace definitions for all crates and update to the 2021 edition (#32544) 2024-06-18 09:22:08 +00:00
devtools DevTools: Replace camel case variable names (#32726) 2024-07-08 11:18:35 +00:00
dom_struct Use workspace definitions for all crates and update to the 2021 edition (#32544) 2024-06-18 09:22:08 +00:00
domobject_derive Use workspace definitions for all crates and update to the 2021 edition (#32544) 2024-06-18 09:22:08 +00:00
fonts fonts: Add support for generic font families and font size configuration (#32673) 2024-07-08 17:17:48 +00:00
geometry Use workspace definitions for all crates and update to the 2021 edition (#32544) 2024-06-18 09:22:08 +00:00
hyper_serde Use workspace definitions for all crates and update to the 2021 edition (#32544) 2024-06-18 09:22:08 +00:00
jstraceable_derive Use workspace definitions for all crates and update to the 2021 edition (#32544) 2024-06-18 09:22:08 +00:00
layout fonts: Add support for generic font families and font size configuration (#32673) 2024-07-08 17:17:48 +00:00
layout_2020 fonts: Add support for generic font families and font size configuration (#32673) 2024-07-08 17:17:48 +00:00
layout_thread fonts: Add support for generic font families and font size configuration (#32673) 2024-07-08 17:17:48 +00:00
layout_thread_2020 fonts: Add support for generic font families and font size configuration (#32673) 2024-07-08 17:17:48 +00:00
media Use workspace definitions for all crates and update to the 2021 edition (#32544) 2024-06-18 09:22:08 +00:00
metrics Rename gfx to fonts (#32556) 2024-06-19 20:26:19 +00:00
net DevTools: Replace camel case variable names (#32726) 2024-07-08 11:18:35 +00:00
pixels Use workspace definitions for all crates and update to the 2021 edition (#32544) 2024-06-18 09:22:08 +00:00
profile Use workspace definitions for all crates and update to the 2021 edition (#32544) 2024-06-18 09:22:08 +00:00
rand Use workspace definitions for all crates and update to the 2021 edition (#32544) 2024-06-18 09:22:08 +00:00
range Use workspace definitions for all crates and update to the 2021 edition (#32544) 2024-06-18 09:22:08 +00:00
script Avoid unnecessary clones for URLs (#32694) 2024-07-08 16:11:55 +00:00
servo clippy: fix some warnings in desktop and some components (#32583) 2024-06-25 07:04:23 +00:00
shared DevTools: Replace camel case variable names (#32726) 2024-07-08 11:18:35 +00:00
url script: Impl cloning of JSPrincipals (#32706) 2024-07-06 10:25:38 +00:00
webdriver_server Use workspace definitions for all crates and update to the 2021 edition (#32544) 2024-06-18 09:22:08 +00:00
webgpu webgpu: Update wgpu and revamp RenderPass (#32665) 2024-07-04 12:16:42 +00:00