servo/components/canvas
Martin Robinson 5393d30a8e
Simplify FontHandle and rename it to PlatformFont (#32101)
* Simplify `FontHandle` and rename it to `PlatformFont`

Rename it to `PlatformFont` and move the `FontTemplate` member to
`Font`, because it's shared by all platforms.

* Update components/gfx/platform/freetype/font.rs

Co-authored-by: Mukilan Thiyagarajan <mukilanthiagarajan@gmail.com>

* Fix build for MacOS and Windows

---------

Co-authored-by: Mukilan Thiyagarajan <mukilanthiagarajan@gmail.com>
2024-04-17 17:44:34 +00:00
..
webgl_mode clippy: fix some warnings in components/canvas (#31563) 2024-03-08 07:24:01 +00:00
canvas_data.rs Simplify FontHandle and rename it to PlatformFont (#32101) 2024-04-17 17:44:34 +00:00
canvas_paint_thread.rs clippy: fix result_unit_err warnings (#31791) 2024-03-21 12:51:45 +00:00
Cargo.toml Upgrade Stylo to 2024-03-01 (#32089) 2024-04-16 12:27:51 +00:00
lib.rs remove extern crate (#30311) 2023-09-08 12:11:31 +00:00
raqote_backend.rs Upgrade Stylo to 2024-03-01 (#32089) 2024-04-16 12:27:51 +00:00
webgl_limits.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
webgl_thread.rs clippy: fix result_unit_err warnings (#31791) 2024-03-21 12:51:45 +00:00