diff options
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)] |
