Skip to content

Commit 5ba0420

Browse files
StartAutomatingStartAutomating
authored andcommitted
feat: Font.Glyph.get_Motion/Outline ( Fixes #20, Fixes #21 )
Using transparent fill
1 parent 4165750 commit 5ba0420

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Font.types.ps1xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ $viewbox = "0 $($bbox[-3] - $descent) $($bbox[-2]) $($bbox[-1])"
3232
$PathData = $this.PathData
3333
@(
3434
"<svg xmlns='http://www.w3.org/2000/svg' viewBox='$viewbox' width='100%' height='100%' transform='scale(1 -1)'>"
35-
"<path stroke='currentColor' d='$($PathData)' />"
35+
"<path stroke='currentColor' fill='transparent' d='$($PathData)' />"
3636
@"
3737
<circle r="5" fill="currentColor">
3838
<animateMotion
@@ -56,7 +56,7 @@ $bbox = $fontFace.bbox -split '\s' -as [double[]]
5656
$viewbox = "0 $($bbox[-3] - $descent) $($bbox[-2]) $($bbox[-1])"
5757
@("<svg xmlns='http://www.w3.org/2000/svg' viewBox='$viewbox' width='100%' height='100%' transform='scale(1 -1)'>"
5858

59-
"<path stroke='currentColor' d='$($this.PathData)' />"
59+
"<path stroke='currentColor' fill='transparent' d='$($this.PathData)' />"
6060
"</svg>") -as [xml]
6161
</GetScriptBlock>
6262
</ScriptProperty>

0 commit comments

Comments
 (0)