From 5b6b7e00805a80e75970e2e1b2323ba78ddfea7d Mon Sep 17 00:00:00 2001 From: Vincenzo Mantova Date: Sat, 17 Aug 2024 12:44:32 +0100 Subject: [PATCH] restore viewBox in pgf pictures --- lib/LaTeXML/Package/pgfsys-latexml.def.ltxml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/LaTeXML/Package/pgfsys-latexml.def.ltxml b/lib/LaTeXML/Package/pgfsys-latexml.def.ltxml index cb3b86b0d..c5f7f6f25 100644 --- a/lib/LaTeXML/Package/pgfsys-latexml.def.ltxml +++ b/lib/LaTeXML/Package/pgfsys-latexml.def.ltxml @@ -85,9 +85,9 @@ DefConstructor('\lxSVG@insertpicture{}', sub { else { $document->openElement('ltx:picture'); $document->openElement('svg:svg', - version => "1.1", - width => $props{pxwidth}, height => $props{pxheight}, -#### viewBox => "$props{minx} $props{miny} $props{pxwidth} $props{pxheight}", + version => "1.1", + width => $props{pxwidth}, height => $props{pxheight}, + viewBox => "$props{minx} $props{miny} $props{pxwidth} $props{pxheight}", overflow => "visible"); my $x0 = -(0 + $props{minx}); my $y0 = $props{pxheight} + $props{miny};