Linux: Experiment with CosmicText based Text System (#7539)

This is a rebase of @gabydds text_system updates. with some small
cleanups.

Currently cannot test this as build is not working in linux. Im just
putting it up here before I forget about it.

---------

Co-authored-by: gabydd <gabydinnerdavid@gmail.com>
Co-authored-by: Mikayla Maki <mikayla@zed.dev>
This commit is contained in:
h3mosphere 2024-02-09 17:49:03 +11:00 committed by GitHub
parent 0ab1094f0c
commit 67d280b8cb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 531 additions and 47 deletions

View file

@ -725,6 +725,7 @@ pub struct FontMetrics {
pub(crate) x_height: f32,
/// The outer limits of the area that the font covers.
/// Corresponds to the xMin / xMax / yMin / yMax values in the OpenType `head` table
pub(crate) bounding_box: Bounds<f32>,
}