File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2727 <GetScriptBlock >
2828 $fontFace = $this.ParentNode.'font-face'
2929$descent = $fontFace.descent -as [double]
30- $bbox = $fontFace.bbox -split '\s' -as [double[]]
31- $viewbox = "0 $($bbox[-3] - $descent) $($bbox[-2]) $($bbox[-1])"
30+ $viewbox = $fontFace.bbox -split '\s' -as [double[]]
3231$PathData = $this.PathData
3332@(
3433 "< svg xmlns='http://www.w3.org/2000/svg' viewBox='$viewbox' width='100%' height='100%' transform='scale(1 -1)'> "
@@ -52,8 +51,7 @@ $PathData = $this.PathData
5251 <GetScriptBlock >
5352 $fontFace = $this.ParentNode.'font-face'
5453$descent = $fontFace.descent -as [double]
55- $bbox = $fontFace.bbox -split '\s' -as [double[]]
56- $viewbox = "0 $($bbox[-3] - $descent) $($bbox[-2]) $($bbox[-1])"
54+ $viewbox = $fontFace.bbox -split '\s' -as [double[]]
5755@("< svg xmlns='http://www.w3.org/2000/svg' viewBox='$viewbox' width='100%' height='100%' transform='scale(1 -1)'> "
5856
5957"< path stroke='currentColor' fill='transparent' d='$($this.PathData)' /> "
You can’t perform that action at this time.
0 commit comments