From 651757fa87463094db70040de4ee07f4795eab0f Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 27 Sep 2022 20:32:35 +0000 Subject: media4svg (27sep22) git-svn-id: svn://tug.org/texlive/trunk@64530 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/media4svg/media4svg.sty | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'Master/texmf-dist/tex/latex/media4svg') diff --git a/Master/texmf-dist/tex/latex/media4svg/media4svg.sty b/Master/texmf-dist/tex/latex/media4svg/media4svg.sty index 680cf944a55..0045fd684e0 100644 --- a/Master/texmf-dist/tex/latex/media4svg/media4svg.sty +++ b/Master/texmf-dist/tex/latex/media4svg/media4svg.sty @@ -23,8 +23,8 @@ % % The Current Maintainer of this work is A. Grahn. -\def\g@msvg@date@tl{2022/09/23} -\def\g@msvg@version@tl{0.11} +\def\g@msvg@date@tl{2022/09/27} +\def\g@msvg@version@tl{0.12} \NeedsTeXFormat{LaTeX2e}[2022-06-01] \ProvidesExplPackage{media4svg}{\g@msvg@date@tl}{\g@msvg@version@tl} @@ -242,6 +242,10 @@ \l_msvg_full_name_tl}{72}{{?nl}}\g_msvg_media_blob_tl } } + \tl_set:Nx\l_msvg_viewbox_wd_tl{\fp_eval:n{ + \g_msvg_px_per_bp_tl*\dim_to_decimal_in_bp:n{\g_msvg_wd_tl}}} + \tl_set:Nx\l_msvg_viewbox_tt_tl{ + \fp_eval:n{\g_msvg_px_per_bp_tl*\dim_to_decimal_in_bp:n{\g_msvg_tt_tl}}} \special{dvisvgm:raw \bool_if:nT{ \tl_if_blank_p:V\g_msvg_controls_tl&& @@ -310,11 +314,10 @@