Introduce GlyphStore::total_advance

This commit is contained in:
Anthony Ramine 2019-11-21 13:28:58 +01:00
parent 6f49dc2356
commit a5e55ddb20

View file

@ -452,6 +452,11 @@ impl<'a> GlyphStore {
} }
} }
#[inline]
pub fn total_advance(&self) -> Au {
self.total_advance
}
#[inline] #[inline]
pub fn len(&self) -> ByteIndex { pub fn len(&self) -> ByteIndex {
ByteIndex(self.entry_buffer.len() as isize) ByteIndex(self.entry_buffer.len() as isize)