From 13ce181537a375b1636e7e5184b4ff5351248dde Mon Sep 17 00:00:00 2001 From: mooman219 Date: Wed, 17 Jan 2024 11:27:38 -0800 Subject: [PATCH 1/2] trunc is unused right now but we'll keep it in here. --- src/platform/float/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/platform/float/mod.rs b/src/platform/float/mod.rs index f277d4bf..45ba88b1 100644 --- a/src/platform/float/mod.rs +++ b/src/platform/float/mod.rs @@ -16,6 +16,7 @@ pub use floor::*; pub use fract::*; pub use get_bitmap::*; pub use sqrt::*; +#[allow(unused_imports)] pub use trunc::*; /// Sets the high bit 0x80000000 on a float. From 350a689a44eaf977a0fa276ae2c8a7c583c51ad8 Mon Sep 17 00:00:00 2001 From: Steven Kalt Date: Fri, 23 Feb 2024 01:18:41 -0500 Subject: [PATCH 2/2] docs: fix typo (#151) fonrs -> fonts --- src/font.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/font.rs b/src/font.rs index 2f6fdc60..ba3341ef 100644 --- a/src/font.rs +++ b/src/font.rs @@ -168,7 +168,7 @@ pub struct FontSettings { /// the scale are pixels per Em unit. pub scale: f32, /// The default is true. If enabled, will load glyphs for substitutions (liagtures, etc.) from - /// the gsub table on compatible fonrs. Only makes a difference when using indexed operations, + /// the gsub table on compatible fonts. Only makes a difference when using indexed operations, /// i.e. `Font::raserize_indexed`, as singular characters do not have enough context to be /// substituted. pub load_substitutions: bool,