diff options
Diffstat (limited to 'font/src/ft/mod.rs')
-rw-r--r-- | font/src/ft/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/font/src/ft/mod.rs b/font/src/ft/mod.rs index a199f1cb..82f06776 100644 --- a/font/src/ft/mod.rs +++ b/font/src/ft/mod.rs @@ -247,7 +247,7 @@ impl FreeTypeRasterizer { None => { debug!("Miss for font {:?}", path); - let face = self.library.new_face(path.clone(), index)?; + let face = self.library.new_face(&path, index)?; let key = FontKey::next(); self.faces.insert(key, face); self.keys.insert(path, key); |