summaryrefslogtreecommitdiff
path: root/font/src/ft/mod.rs
diff options
context:
space:
mode:
authorMartin Lindhe <martin-commit@ubique.se>2017-10-30 16:03:58 +0100
committerJoe Wilm <jwilm@users.noreply.github.com>2017-10-30 09:25:13 -0700
commit5b444375f22927c3661c331f3f37519940204bc0 (patch)
tree0079436834a54bd5e58e48e46a253f2a73890b6d /font/src/ft/mod.rs
parentf646f6c9f8b04d7c880920941eccce699fba6b04 (diff)
downloadalacritty-5b444375f22927c3661c331f3f37519940204bc0.tar.gz
alacritty-5b444375f22927c3661c331f3f37519940204bc0.zip
fix some typos in comments
Diffstat (limited to 'font/src/ft/mod.rs')
-rw-r--r--font/src/ft/mod.rs2
1 files changed, 1 insertions, 1 deletions
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.);