diff --git a/src/entities/text_support.rs b/src/entities/text_support.rs index f26f7d52a..d24efb9d6 100644 --- a/src/entities/text_support.rs +++ b/src/entities/text_support.rs @@ -197,7 +197,7 @@ pub fn text_local_bounds( /// Expand DXF `%%x` special-character sequences that appear in both TEXT and MTEXT values: /// - `%%d` / `%%D` → `°` /// - `%%p` / `%%P` → `±` -/// - `%%c` / `%%C` → `⌀` +/// - `%%c` / `%%C` → `∅` (U+2205, the character AutoCAD writes for the diameter sign) /// - `%%u` / `%%U` → underline toggle (stripped — not renderable with stroke fonts) /// - `%%o` / `%%O` → overline toggle (stripped) /// - `%%%%` → `%` @@ -224,7 +224,7 @@ pub fn resolve_dxf_special_chars(s: &str) -> String { } Some('c') => { chars.next(); - out.push('⌀'); + out.push('∅'); } Some('u') | Some('o') => { chars.next();