read_fonts/tables/hhea.rs
1//! the [hhea (Horizontal Header)](https://docs.microsoft.com/en-us/typography/opentype/spec/hhea) table
2
3include!("../../generated/generated_hhea.rs");
4
5impl Hhea<'_> {
6 #[deprecated(since = "0.26.0", note = "use number_of_h_metrics instead")]
7 pub fn number_of_long_metrics(&self) -> u16 {
8 self.number_of_h_metrics()
9 }
10}