servo/components/fonts
Martin Robinson 4907e89656
canvas: Remove as much usage of font-kit as possible (#32758)
Do font selection using Servo's font backend, which is shared with the
rest of layout. In addition, delay the creation of the `font-kit` font
until just before rendering with `raqote`. The idea is that when
`raqote` is no longer used, we can drop the `font-kit` dependency.

This change has the side-effect of fixing text rendering in canvas,
adding support for font fallback in canvas, and also correcting a bug in
font selection with size overrides.

Signed-off-by: Martin Robinson <mrobinson@igalia.com>
Co-authored-by: Mukilan Thiyagarajan <mukilan@igalia.com>
2024-07-11 04:25:38 +00:00
..
platform fonts: Add support for generic font families and font size configuration (#32673) 2024-07-08 17:17:48 +00:00
tests fonts: Add support for generic font families and font size configuration (#32673) 2024-07-08 17:17:48 +00:00
Cargo.toml fonts: Add support for generic font families and font size configuration (#32673) 2024-07-08 17:17:48 +00:00
font.rs canvas: Remove as much usage of font-kit as possible (#32758) 2024-07-11 04:25:38 +00:00
font_cache_thread.rs fonts: Add support for generic font families and font size configuration (#32673) 2024-07-08 17:17:48 +00:00
font_context.rs canvas: Remove as much usage of font-kit as possible (#32758) 2024-07-11 04:25:38 +00:00
font_store.rs fonts: Add support for generic font families and font size configuration (#32673) 2024-07-08 17:17:48 +00:00
font_template.rs Rename gfx to fonts (#32556) 2024-06-19 20:26:19 +00:00
glyph.rs Rename gfx to fonts (#32556) 2024-06-19 20:26:19 +00:00
lib.rs Rename gfx to fonts (#32556) 2024-06-19 20:26:19 +00:00
shaper.rs Rename gfx to fonts (#32556) 2024-06-19 20:26:19 +00:00