Skip to content

Commit 8575159

Browse files
authored
restore viewBox in pgf pictures (#2396)
1 parent 3c7b20d commit 8575159

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/LaTeXML/Package/pgfsys-latexml.def.ltxml

+3-3
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,9 @@ DefConstructor('\lxSVG@insertpicture{}', sub {
8585
else {
8686
$document->openElement('ltx:picture');
8787
$document->openElement('svg:svg',
88-
version => "1.1",
89-
width => $props{pxwidth}, height => $props{pxheight},
90-
#### viewBox => "$props{minx} $props{miny} $props{pxwidth} $props{pxheight}",
88+
version => "1.1",
89+
width => $props{pxwidth}, height => $props{pxheight},
90+
viewBox => "$props{minx} $props{miny} $props{pxwidth} $props{pxheight}",
9191
overflow => "visible");
9292
my $x0 = -(0 + $props{minx});
9393
my $y0 = $props{pxheight} + $props{miny};

0 commit comments

Comments
 (0)