Skip to content
Permalink
Browse files

Introduce GlyphStore::total_advance

  • Loading branch information
nox committed Nov 21, 2019
1 parent 6f49dc2 commit a5e55ddb201c2a4d314bf333a126d8595138c91c
Showing with 5 additions and 0 deletions.
  1. +5 −0 components/gfx/text/glyph.rs
@@ -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)

0 comments on commit a5e55dd

Please sign in to comment.
You can’t perform that action at this time.