fn extract_svg_intrinsic_px(s: &str) -> Option<(f32, f32)>Expand description
Fast heuristic to extract intrinsic width/height in pixels from an SVG string.
We look for width="..." / height="..." (optionally with px) or a viewBox
and return (width_px, height_px) on success. This avoids invoking the slower
printpdf::Svg::parse for the common case where dimensions are explicit in the SVG.