From f8cb3a2131edd7eb954016b8d5f024a34b2e5f13 Mon Sep 17 00:00:00 2001 From: Keith Simmons Date: Sun, 2 Jan 2022 23:29:48 -0800 Subject: [PATCH] fix minor typo --- src/renderer/fonts/caching_shaper.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/fonts/caching_shaper.rs b/src/renderer/fonts/caching_shaper.rs index 7b83d29..fce3788 100644 --- a/src/renderer/fonts/caching_shaper.rs +++ b/src/renderer/fonts/caching_shaper.rs @@ -85,7 +85,7 @@ impl CachingShaper { fn reset_font_loader(&mut self) { // Calculate the new fudge factor required to scale the font width to the nearest exact pixel // NOTE: This temporarily loads the font without any fudge factor, since the interface - // nees a size and we don't know the exact one until it's calculated. + // needs a size and we don't know the exact one until it's calculated. self.fudge_factor = 1.0; let mut font_size = self.current_size(); trace!("Using font_size: {:.2}px", font_size);