Use line height from attrs

This commit is contained in:
Jeremy Soller 2024-06-06 15:21:44 -06:00
parent 8638ec29bb
commit 37688747e1
6 changed files with 44 additions and 60 deletions

View file

@ -16,6 +16,8 @@ pub struct LayoutGlyph {
pub end: usize,
/// Font size of the glyph
pub font_size: f32,
/// Line height of the glyph, will override buffer setting
pub line_height_opt: Option<f32>,
/// Font id of the glyph
pub font_id: fontdb::ID,
/// Font id of the glyph