servo/components/fonts
Martin Robinson 639eb7bc55
fonts: Fix calculation of font underline thickness on macOS (#37029)
There was a typo in how underline thickness (in pixels) was converted
to app units. It was interpreting the pixel value as an f64 app unit
value, which meant that the resulting thickness was 1/60 of the value
expected.

Testing: macOS does not currently run WPT tests, so it is difficult to
test
this one. I have manually confirmed that underlines now show up and are
the
expected thickness.
Fixes: #36945

Signed-off-by: Martin Robinson <mrobinson@igalia.com>
2025-05-16 18:23:02 +00:00
..
platform fonts: Fix calculation of font underline thickness on macOS (#37029) 2025-05-16 18:23:02 +00:00
tests Various memory measurement improvements (#36834) 2025-05-07 04:00:12 +00:00
Cargo.toml Various memory measurement improvements (#36834) 2025-05-07 04:00:12 +00:00
font.rs Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
font_context.rs Update FetchTaskTarget to propagate CSP violations. (#36409) 2025-04-13 20:54:59 +00:00
font_store.rs Various memory measurement improvements (#36834) 2025-05-07 04:00:12 +00:00
font_template.rs Various memory measurement improvements (#36834) 2025-05-07 04:00:12 +00:00
glyph.rs layout: Report memory usage for fragment and box trees. (#36553) 2025-04-18 20:05:15 +00:00
lib.rs Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
shaper.rs Migrate to the 2024 edition (#35755) 2025-03-13 10:28:11 +00:00
system_font_service.rs Various memory measurement improvements (#36834) 2025-05-07 04:00:12 +00:00