Skip to content

Commit 89b5b2f

Browse files
StartAutomatingStartAutomating
authored andcommitted
feat: Font.svg.get_FontWeight ( Fixes #10 )
1 parent e125661 commit 89b5b2f

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
@@ -60,6 +60,15 @@
6060
Select-Object -ExpandProperty font-style
6161
</GetScriptBlock>
6262
</ScriptProperty>
63+
<ScriptProperty>
64+
<Name>FontWeight</Name>
65+
<GetScriptBlock>
66+
$this |
67+
Select-Xml -Namespace @{s='http://www.w3.org/2000/svg'} -XPath //s:font-face |
68+
Select-Object -ExpandProperty Node |
69+
Select-Object -ExpandProperty font-weight
70+
</GetScriptBlock>
71+
</ScriptProperty>
6372
</Members>
6473
</Type>
6574
</Types>

0 commit comments

Comments
 (0)