diff --git a/src/scene/text/font_face.rs b/src/scene/text/font_face.rs index e4b5efee4..832e1eaf4 100644 --- a/src/scene/text/font_face.rs +++ b/src/scene/text/font_face.rs @@ -236,6 +236,10 @@ mod tests { // they should resolve to Ttf. If they aren't installed, Lff fallback is accepted. eprintln!("Font {} resolved to Lff (probably not installed)", test_name); } + Face::Shx { .. } => { + // A system TTF name never resolves to an SHX shape font. + eprintln!("Font {} resolved to Shx (unexpected)", test_name); + } } } }