servo/components/gfx
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
..
platform Simplify FontHandle and rename it to PlatformFont (#32101) 2024-04-17 17:44:34 +00:00
tests Simplify FontHandle and rename it to PlatformFont (#32101) 2024-04-17 17:44:34 +00:00
text Simplify FontHandle and rename it to PlatformFont (#32101) 2024-04-17 17:44:34 +00:00
Cargo.toml Remove FontContextHandle (#32038) 2024-04-12 10:39:32 +00:00
font.rs Simplify FontHandle and rename it to PlatformFont (#32101) 2024-04-17 17:44:34 +00:00
font_cache_thread.rs Rename FontTemplateInfo to FontTemplateAndWebRenderFontKey (#32100) 2024-04-17 07:26:39 +00:00
font_context.rs Simplify FontHandle and rename it to PlatformFont (#32101) 2024-04-17 17:44:34 +00:00
font_template.rs Simplify FontHandle and rename it to PlatformFont (#32101) 2024-04-17 17:44:34 +00:00
lib.rs gfx: Rename WebrenderSurfman to RenderingContext and move to gfx (#31184) 2024-01-27 17:58:34 +00:00
rendering_context.rs clippy: Fix remaining warnings in gfx for MacOS (#31669) 2024-03-15 12:14:36 +00:00