servo/components/gfx/text
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
..
shaping rustdoc: Fix errors in components and ports (#31654) 2024-03-15 16:24:11 +00:00
glyph.rs Fix typo: changed seperator to separator (#31685) 2024-03-15 09:42:32 +00:00
mod.rs Update MPL license to https (part 4) 2018-11-19 14:47:27 +01:00
text_run.rs Simplify FontHandle and rename it to PlatformFont (#32101) 2024-04-17 17:44:34 +00:00
util.rs fonts: Consider Tertiary Ideographic Plane to be CJK (#31670) 2024-03-18 11:45:52 +00:00