Windowsのコマンドライン言語Powershellで、コマンドラインコンソールから利用可能なフォントをリストする方法について紹介します。
rundll32.exe Shell32.dll,SHHelpShortcuts_RunDLL FontsFolder
で確認できるフォント名(e.g. “Ink Free 標準”)は違うので、ちゃんとリストして確認してあげる必要があるっぽい。
[System.Reflection.Assembly]::LoadWithPartialName("System.Drawing")
(New-Object System.Drawing.Text.InstalledFontCollection).Families
windows 7 – How to list installed font families? – Super User