Skip to content

Commit 8f671dd

Browse files
StartAutomatingStartAutomating
authored andcommitted
feat: Font.svg.get_FontStyle ( Fixes #8 )
1 parent dbbab48 commit 8f671dd

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

Font.types.ps1xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,15 @@
2626
Select-Object -ExpandProperty Node
2727
</GetScriptBlock>
2828
</ScriptProperty>
29+
<ScriptProperty>
30+
<Name>FontStyle</Name>
31+
<GetScriptBlock>
32+
$this |
33+
Select-Xml -Namespace @{s='http://www.w3.org/2000/svg'} -XPath //s:font-face |
34+
Select-Object -ExpandProperty Node |
35+
Select-Object -ExpandProperty font-style
36+
</GetScriptBlock>
37+
</ScriptProperty>
2938
</Members>
3039
</Type>
3140
</Types>

0 commit comments

Comments
 (0)