fn extract_dpi_from_svg(s: &str) -> Option<f32>
Extract data-dpi=“NNN” if present (used when SVGs embed DPI metadata).