diff options
| author | Laurenz <laurmaedje@gmail.com> | 2022-09-20 13:05:55 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2022-09-20 16:37:15 +0200 |
| commit | 757a701c1aa2a6fb80033c7e75666661818da6f9 (patch) | |
| tree | 0415fec94d3856f4ebc97a1744cf2ba75fe8e7aa /src/font | |
| parent | e29f55bb294cc298daad97accf6d8a76976b409c (diff) | |
A New World
Diffstat (limited to 'src/font')
| -rw-r--r-- | src/font/book.rs | 4 | ||||
| -rw-r--r-- | src/font/mod.rs | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/font/book.rs b/src/font/book.rs index 8f19faf7..323eb84f 100644 --- a/src/font/book.rs +++ b/src/font/book.rs @@ -39,8 +39,8 @@ impl FontBook { self.infos.push(info); } - /// An ordered iterator over all font families this loader knows and details - /// about the faces that are part of them. + /// An ordered iterator over all font families this book knows and details + /// about the fonts that are part of them. pub fn families( &self, ) -> impl Iterator<Item = (&str, impl Iterator<Item = &FontInfo>)> + '_ { diff --git a/src/font/mod.rs b/src/font/mod.rs index 917fea62..2404ad32 100644 --- a/src/font/mod.rs +++ b/src/font/mod.rs @@ -15,7 +15,7 @@ use rex::font::MathHeader; use ttf_parser::{GlyphId, Tag}; use crate::geom::Em; -use crate::loading::Buffer; +use crate::util::Buffer; /// An OpenType font. #[derive(Clone)] |
