Skip to content

Commit dbe7a57

Browse files
StartAutomatingStartAutomating
authored andcommitted
feat: Font.svg.set_FamilyName ( Fixes #9 )
1 parent 0ef12cf commit dbe7a57

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Font.types.ps1xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,10 @@ if ($null -eq $value) {
163163
<GetScriptBlock>
164164
$this.FontFace.'font-family'
165165
</GetScriptBlock>
166+
<SetScriptBlock>
167+
param([string]$FontFamily)
168+
$this.FontFace.'font-family' = $FontFamily
169+
</SetScriptBlock>
166170
</ScriptProperty>
167171
<ScriptProperty>
168172
<Name>FontFace</Name>

0 commit comments

Comments
 (0)