Skip to content

Commit

Permalink
restore viewBox in pgf pictures
Browse files Browse the repository at this point in the history
  • Loading branch information
xworld21 committed Aug 17, 2024
1 parent c3d682e commit 5b6b7e0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/LaTeXML/Package/pgfsys-latexml.def.ltxml
Original file line number Diff line number Diff line change
Expand Up @@ -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};
Expand Down

0 comments on commit 5b6b7e0

Please sign in to comment.