servo/components
Martin Robinson 60a81a7032
fonts: Add support for the CSS font matching algorithm (#32366)
* fonts: Add support for the CSS font matching algorithm

This is a port from Gecko of the CSS font matching algorithm distance
functions as well as the "simple family" concept for optimizing
matching when dealing with simple fonts.

Fixes #189.
Fixes #190.
Fixes #20686.
Fixes #20684.

Co-authored-by: Mukilan Thiyagarajan <mukilan@igalia.com>
Signed-off-by: Martin Robinson <mrobinson@igalia.com>

* Ensure that simple faces are removed for removed stylesheets

---------

Signed-off-by: Martin Robinson <mrobinson@igalia.com>
Co-authored-by: Mukilan Thiyagarajan <mukilan@igalia.com>
2024-05-24 16:40:22 +00:00
..
allocator android: use jemalloc on Android (#32273) 2024-05-13 11:07:19 +00:00
background_hang_monitor Move non-gfx things out of gfx_traits and create a base crate (#32296) 2024-05-17 12:28:58 +00:00
bluetooth clippy: fix warnings in components/bluetooth (#31566) 2024-03-07 23:32:35 +00:00
canvas fonts: Store web fonts in the per-Layout FontContext (#32303) 2024-05-20 14:13:03 +00:00
compositing compositor: Move WebRender-ish messages and types to webrender_traits (#32315) 2024-05-20 10:35:18 +00:00
config compositor: Remove the is_running_problem_test setting (#31589) 2024-03-09 02:29:43 +00:00
config_plugins clippy: fix warnings in components/config* (#31562) 2024-03-08 07:15:56 +00:00
constellation webgpu: Move errorscopes to WGPU thread (#32304) 2024-05-22 16:47:35 +00:00
deny_public_fields Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
devtools Move non-gfx things out of gfx_traits and create a base crate (#32296) 2024-05-17 12:28:58 +00:00
dom_struct clippy: fix warnings in various modules in components (#31568) 2024-03-08 14:28:04 +00:00
domobject_derive clippy: fix warnings in various modules in components (#31568) 2024-03-08 14:28:04 +00:00
geometry dependencies: Upgrade to WebRender 0.64 (#31486) 2024-03-14 17:40:54 +00:00
gfx fonts: Add support for the CSS font matching algorithm (#32366) 2024-05-24 16:40:22 +00:00
hyper_serde clippy: fix warnings in various modules in components (#31568) 2024-03-08 14:28:04 +00:00
jstraceable_derive Update to syn 2 where possible (#30387) 2023-09-19 15:57:37 +00:00
layout compositor: Move WebRender-ish messages and types to webrender_traits (#32315) 2024-05-20 10:35:18 +00:00
layout_2020 fonts: Clean up messaging during web fonts loads (#32332) 2024-05-22 08:30:35 +00:00
layout_thread fonts: Remove web fonts when their stylsheet is removed (#32346) 2024-05-23 06:49:31 +00:00
layout_thread_2020 fonts: Remove web fonts when their stylsheet is removed (#32346) 2024-05-23 06:49:31 +00:00
media clippy: fix result_unit_err warnings (#31791) 2024-03-21 12:51:45 +00:00
metrics Move non-gfx things out of gfx_traits and create a base crate (#32296) 2024-05-17 12:28:58 +00:00
net compositor: Move WebRender-ish messages and types to webrender_traits (#32315) 2024-05-20 10:35:18 +00:00
pixels compositor: Move WebRender-ish messages and types to webrender_traits (#32315) 2024-05-20 10:35:18 +00:00
profile android: use jemalloc on Android (#32273) 2024-05-13 11:07:19 +00:00
rand Fix clippy warnings in components/rand (#31549) 2024-03-07 23:16:42 +00:00
range clippy: fix warnings in various modules in components (#31568) 2024-03-08 14:28:04 +00:00
script webgpu: Move errorscopes to WGPU thread (#32304) 2024-05-22 16:47:35 +00:00
servo fonts: Store web fonts in the per-Layout FontContext (#32303) 2024-05-20 14:13:03 +00:00
shared Move webgl_channel into base crate (#32339) 2024-05-24 06:13:20 +00:00
url url: Only truncate data URLs for Debug (#32177) 2024-04-29 15:29:47 +00:00
webdriver_server Move non-gfx things out of gfx_traits and create a base crate (#32296) 2024-05-17 12:28:58 +00:00
webgpu webgpu: Move errorscopes to WGPU thread (#32304) 2024-05-22 16:47:35 +00:00