diff options
Diffstat (limited to 'font')
-rw-r--r-- | font/src/ft/fc/pattern.rs | 6 | ||||
-rw-r--r-- | font/src/ft/mod.rs | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/font/src/ft/fc/pattern.rs b/font/src/ft/fc/pattern.rs index 88cf37be..592d3859 100644 --- a/font/src/ft/fc/pattern.rs +++ b/font/src/ft/fc/pattern.rs @@ -71,7 +71,7 @@ impl<'a> StringPropertyIter<'a> { } } -/// Iterator over interger properties +/// Iterator over integer properties pub struct BooleanPropertyIter<'a> { pattern: &'a PatternRef, object: &'a [u8], @@ -108,7 +108,7 @@ impl<'a> BooleanPropertyIter<'a> { } } -/// Iterator over interger properties +/// Iterator over integer properties pub struct IntPropertyIter<'a> { pattern: &'a PatternRef, object: &'a [u8], @@ -226,7 +226,7 @@ impl<'a> LcdFilterPropertyIter<'a> { } } -/// Iterator over interger properties +/// Iterator over integer properties pub struct DoublePropertyIter<'a> { pattern: &'a PatternRef, object: &'a [u8], diff --git a/font/src/ft/mod.rs b/font/src/ft/mod.rs index ce5cea62..6cd859e9 100644 --- a/font/src/ft/mod.rs +++ b/font/src/ft/mod.rs @@ -142,7 +142,7 @@ impl IntoFontconfigType for Weight { } impl FreeTypeRasterizer { - /// Load a font face accoring to `FontDesc` + /// Load a font face according to `FontDesc` fn get_face(&mut self, desc: &FontDesc, size: Size) -> Result<FontKey, Error> { // Adjust for DPI let size = Size::new(size.as_f32_pts() * self.device_pixel_ratio * 96. / 72.); |