We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 06d3df5 + 9bf7633 commit 931f26cCopy full SHA for 931f26c
1 file changed
Font.types.ps1xml
@@ -34,6 +34,15 @@
34
<Name>FontFamily</Name>
35
<ReferencedMemberName>FamilyName</ReferencedMemberName>
36
</AliasProperty>
37
+ <ScriptMethod>
38
+ <Name>GetGlyph</Name>
39
+ <Script>
40
+ param([string]$value)
41
+$this |
42
+ Select-Xml -Namespace @{s='http://www.w3.org/2000/svg'} -XPath "//s:glyph[@unicode='$($value -replace "'", "''")']" |
43
+ Select-Object -ExpandProperty Node
44
+ </Script>
45
+ </ScriptMethod>
46
<ScriptProperty>
47
<Name>Ascent</Name>
48
<GetScriptBlock>
0 commit comments