mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Introduce GlyphStore::total_advance
This commit is contained in:
parent
6f49dc2356
commit
a5e55ddb20
1 changed files with 5 additions and 0 deletions
|
@ -452,6 +452,11 @@ impl<'a> GlyphStore {
|
|||
}
|
||||
}
|
||||
|
||||
#[inline]
|
||||
pub fn total_advance(&self) -> Au {
|
||||
self.total_advance
|
||||
}
|
||||
|
||||
#[inline]
|
||||
pub fn len(&self) -> ByteIndex {
|
||||
ByteIndex(self.entry_buffer.len() as isize)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue