mirror of
https://github.com/servo/servo.git
synced 2025-06-11 10:00:18 +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]
|
#[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)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue