servo/components
Martin Robinson f175679434
gfx: Derive line-through metrics for fonts on MacOS (#31756)
There is now platform-specific way to get metrics for `line-through` on
MacOS and currently striking through simply does not work. The correct
approach here is likely to first search for these metrics in font tables
and then falling back to deriving them. Searching the font tables is a
larger change, so this change adds the fallback mechanism first. This at
least makes sure that strike through renders at all on Mac.

In a followup change we can add support for getting metrics via HarfBuzz
in a platform-independent way, which is what Gecko does.

Fixes #942.
2024-03-19 13:55:12 +00:00
..
allocator rustdoc: Add some basic Safety sections to unsafe functions (#31639) 2024-03-13 10:44:59 +00:00
background_hang_monitor fix: missing thread name when spawning (#31656) 2024-03-14 10:40:58 +00:00
bluetooth clippy: fix warnings in components/bluetooth (#31566) 2024-03-07 23:32:35 +00:00
canvas Update Stylo to 2023-09-01 (#31609) 2024-03-18 13:52:40 +00:00
compositing compositor: Handle synchronous messages while shutting down (#31733) 2024-03-19 11:40:06 +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 constellation: allow event tracing to be configured with RUST_LOG (#31659) 2024-03-14 12:28:36 +00:00
deny_public_fields Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
devtools Fix clippy warnings in components/rand (#31549) 2024-03-07 23:16:42 +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 gfx: Derive line-through metrics for fonts on MacOS (#31756) 2024-03-19 13:55:12 +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 Update Stylo to 2023-09-01 (#31609) 2024-03-18 13:52:40 +00:00
layout_2020 gfx: Derive line-through metrics for fonts on MacOS (#31756) 2024-03-19 13:55:12 +00:00
layout_thread dependencies: Upgrade to WebRender 0.64 (#31486) 2024-03-14 17:40:54 +00:00
layout_thread_2020 layout: Add basic support for getClientRects() queries (#31696) 2024-03-15 17:20:47 +00:00
media clippy: fix warnings in various modules in components (#31568) 2024-03-08 14:28:04 +00:00
metrics clippy: Fix assorted warnings in components/ (#31628) 2024-03-13 08:31:58 +00:00
net fix: missing thread name when spawning (#31656) 2024-03-14 10:40:58 +00:00
pixels clippy: fix warnings in various modules in components (#31568) 2024-03-08 14:28:04 +00:00
profile clippy: fix warnings in various modules in components (#31568) 2024-03-08 14:28:04 +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
remutex clippy: fix warnings in various modules in components (#31568) 2024-03-08 14:28:04 +00:00
script rustdoc: Convert url text to anchor link (#31755) 2024-03-19 11:48:09 +00:00
servo android: fix broken rendering in emulators (#31727) 2024-03-18 10:57:42 +00:00
shared compositor: Handle synchronous messages while shutting down (#31733) 2024-03-19 11:40:06 +00:00
url clippy: fix warnings in various modules in components (#31568) 2024-03-08 14:28:04 +00:00
webdriver_server clippy: Fix assorted warnings in components/ (#31628) 2024-03-13 08:31:58 +00:00
webgpu clippy: Fix assorted warnings in components/ (#31628) 2024-03-13 08:31:58 +00:00