diff --git a/src/core/annotator.rs b/src/core/annotator.rs index 9d07cc1..8e2361b 100644 --- a/src/core/annotator.rs +++ b/src/core/annotator.rs @@ -115,7 +115,7 @@ impl Annotator { pub fn new() -> Self { Default::default() } - pub fn new_with_fonts(font: &str) -> Self { + pub fn new_with_font(font: &str) -> Self { Self { font: match Self::load_font(font) { Ok(x) => x,