Skip to content

Commit 28c0b87

Browse files
feat: Font.svg.get_FamilyName ( Fixes #9 )
1 parent 8f671dd commit 28c0b87

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

Types/Font.svg/Alias.psd1

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
@{
2+
Family = 'FamilyName'
3+
FontFamily = 'FamilyName'
4+
Face = 'FontFace'
5+
}

Types/Font.svg/get_FamilyName.ps1

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
$this |
2+
Select-Xml -Namespace @{s='http://www.w3.org/2000/svg'} -XPath //s:font-face |
3+
Select-Object -ExpandProperty Node |
4+
Select-Object -ExpandProperty font-family

0 commit comments

Comments
 (0)