File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 11$fontFace = $this.ParentNode .' font-face'
22$descent = $fontFace.descent -as [double ]
3- $bbox = $fontFace.bbox -split ' \s' -as [double []]
4- $viewbox = " 0 $ ( $bbox [-3 ] - $descent ) $ ( $bbox [-2 ]) $ ( $bbox [-1 ]) "
3+ $viewbox = $fontFace.bbox -split ' \s' -as [double []]
54$PathData = $this.PathData
65@ (
76 " <svg xmlns='http://www.w3.org/2000/svg' viewBox='$viewbox ' width='100%' height='100%' transform='scale(1 -1)'>"
Original file line number Diff line number Diff line change 11$fontFace = $this.ParentNode .' font-face'
22$descent = $fontFace.descent -as [double ]
3- $bbox = $fontFace.bbox -split ' \s' -as [double []]
4- $viewbox = " 0 $ ( $bbox [-3 ] - $descent ) $ ( $bbox [-2 ]) $ ( $bbox [-1 ]) "
3+ $viewbox = $fontFace.bbox -split ' \s' -as [double []]
54@ (" <svg xmlns='http://www.w3.org/2000/svg' viewBox='$viewbox ' width='100%' height='100%' transform='scale(1 -1)'>"
65
76" <path stroke='currentColor' fill='transparent' d='$ ( $this.PathData ) ' />"
You can’t perform that action at this time.
0 commit comments