diff --git a/Cargo.toml b/Cargo.toml index 5530321a..4b16fab1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,8 +14,8 @@ exclude = ["benches/", "tests/"] bitflags = "2.9" bytemuck = { version = "1.22", features = ["extern_crate_alloc"] } core_maths = "0.1" # only for no_std builds -#read-fonts = { version = "0.33.0", default-features = false, features = ["libm"] } -read-fonts = { git = "https://github.com/googlefonts/fontations", default-features = false, features = ["libm"] } +read-fonts = { version = "0.33.0", default-features = false, features = ["libm"] } +#read-fonts = { git = "https://github.com/googlefonts/fontations", default-features = false, features = ["libm"] } smallvec = "1.14" [features] diff --git a/src/hb/charmap.rs b/src/hb/charmap.rs index 5a4a2a64..09c64905 100644 --- a/src/hb/charmap.rs +++ b/src/hb/charmap.rs @@ -84,7 +84,7 @@ impl<'a> Charmap<'a> { result } - #[inline] + #[inline(always)] pub fn map(&self, c: u32) -> Option { if let Some(gid) = self.cache.get(c) { return Some(GlyphId::new(gid));