diff --git a/crates/text/src/lib.rs b/crates/text/src/lib.rs index e0974eba..b4f85f02 100644 --- a/crates/text/src/lib.rs +++ b/crates/text/src/lib.rs @@ -1342,6 +1342,10 @@ fn symbol_font_draw(face: &FontFace, code: u32) -> Option { if face.covers(pua) { return Some(pua); } + // The table below is the Symbol font's encoding; Wingdings, Webdings and the like are not Symbol. + if !face.family.eq_ignore_ascii_case("symbol") { + return None; + } if let Some(real) = symbol_unicode(code) { return std::iter::once(real).chain(symbol_unicode_alts(code).iter().copied()).filter_map(char::from_u32).find(|c| face.covers(*c)); }