This commit is contained in:
Stewart Connor 2025-03-28 16:51:07 +11:00 committed by Jeremy Soller
parent 08822cac2e
commit 4e6d5d731b

View file

@ -2,10 +2,10 @@
#[cfg(not(feature = "std"))]
use alloc::vec::Vec;
use core::hash::{Hash, Hasher};
use core::ops::Range;
use rangemap::RangeMap;
use smol_str::SmolStr;
use std::hash::{Hash, Hasher};
use crate::{CacheKeyFlags, Metrics};
@ -169,7 +169,7 @@ pub struct Attrs<'a> {
pub metadata: usize,
pub cache_key_flags: CacheKeyFlags,
pub metrics_opt: Option<CacheMetrics>,
/// Letter spacing (tracking) in pixels
/// Letter spacing (tracking) in EM
pub letter_spacing_opt: Option<LetterSpacing>,
}