Skip to content

Commit 225e240

Browse files
feat: Font.svg.GetGlyph() ( Fixes #15 )
1 parent 0099ca5 commit 225e240

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Types/Font.svg/GetGlyph.ps1

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
param([string]$value)
2+
$this |
3+
Select-Xml -Namespace @{s='http://www.w3.org/2000/svg'} -XPath "//s:glyph[@unicode='$($value -replace "'", "''")']" |
4+
Select-Object -ExpandProperty Node

0 commit comments

Comments
 (0)