[void][reflection.assembly]::LoadWithPartialName("System.Drawing") $fm1 = [System.Drawing.FontFamily]::Families $fm1
作成 2013.09.22
更新 2013.11.27
更新 2013.11.27
PowerShell で FontFamily の一覧を取得する
コード
enumerate-fontfamilies.ps1
実行結果
Windows 7 + Office 2013 の場合
PS C:\powershell> .\enumerate-fontfamilies.ps1 Name ---- Agency FB Aharoni Algerian Andalus Angsana New AngsanaUPC Aparajita Arabic Typesetting Arial Arial Black Arial Narrow Arial Rounded MT Bold Arial Unicode MS Baskerville Old Face Batang BatangChe Bauhaus 93 Bell MT Berlin Sans FB Berlin Sans FB Demi Bernard MT Condensed Blackadder ITC Bodoni MT Bodoni MT Black Bodoni MT Condensed Bodoni MT Poster Compressed Book Antiqua Bookman Old Style Bookshelf Symbol 7 Bradley Hand ITC Britannic Bold Broadway Browallia New BrowalliaUPC Brush Script MT Calibri Calibri Light Californian FB Calisto MT Cambria Cambria Math Candara Castellar Centaur Century Century Gothic Century Schoolbook Chiller Colonna MT Comic Sans MS Consolas Constantia Cooper Black Copperplate Gothic Bold Copperplate Gothic Light Corbel Cordia New CordiaUPC Courier New Curlz MT DaunPenh David DFKai-SB DilleniaUPC DokChampa Dotum DotumChe Ebrima Edwardian Script ITC Elephant Engravers MT Eras Bold ITC Eras Demi ITC Eras Light ITC Eras Medium ITC Estrangelo Edessa EucrosiaUPC Euphemia FangSong Felix Titling Footlight MT Light Forte Franklin Gothic Book Franklin Gothic Demi Franklin Gothic Demi Cond Franklin Gothic Heavy Franklin Gothic Medium Franklin Gothic Medium Cond FrankRuehl FreesiaUPC Freestyle Script French Script MT Gabriola Gadugi Garamond Gautami Georgia Gigi Gill Sans MT Gill Sans MT Condensed Gill Sans MT Ext Condensed Bold Gill Sans Ultra Bold Gill Sans Ultra Bold Condensed Gisha Gloucester MT Extra Condensed Goudy Old Style Goudy Stout Gulim GulimChe Gungsuh GungsuhChe Haettenschweiler Harlow Solid Italic Harrington HGP創英角ゴシックUB HGP創英角ポップ体 HGP創英プレゼンスEB HGP教科書体 HGP明朝B HGP明朝E HGP行書体 HGPゴシックE HGPゴシックM HGS創英角ゴシックUB HGS創英角ポップ体 HGS創英プレゼンスEB HGS教科書体 HGS明朝B HGS明朝E HGS行書体 HGSゴシックE HGSゴシックM HG丸ゴシックM-PRO HG創英角ゴシックUB HG創英角ポップ体 HG創英プレゼンスEB HG教科書体 HG明朝B HG明朝E HG正楷書体-PRO HG行書体 HGゴシックE HGゴシックM High Tower Text Impact Imprint MT Shadow Informal Roman IrisUPC Iskoola Pota JasmineUPC Jokerman Juice ITC KaiTi Kalinga Kartika Khmer UI KodchiangUPC Kokila Kristen ITC Kunstler Script Lao UI Latha Leelawadee Levenim MT LilyUPC Lucida Bright Lucida Calligraphy Lucida Console Lucida Fax Lucida Handwriting Lucida Sans Lucida Sans Typewriter Lucida Sans Unicode Magneto Maiandra GD Malgun Gothic Mangal Marlett Matura MT Script Capitals Meiryo UI Microsoft Himalaya Microsoft JhengHei Microsoft JhengHei UI Microsoft New Tai Lue Microsoft PhagsPa Microsoft Sans Serif Microsoft Tai Le Microsoft Uighur Microsoft YaHei Microsoft YaHei UI Microsoft Yi Baiti MingLiU MingLiU-ExtB MingLiU_HKSCS MingLiU_HKSCS-ExtB Miriam Miriam Fixed Mistral Modern No. 20 Mongolian Baiti Monotype Corsiva MoolBoran MS Outlook MS Reference Sans Serif MS Reference Specialty MS UI Gothic MT Extra MV Boli Narkisim Niagara Engraved Niagara Solid Nirmala UI NSimSun Nyala OCR A Extended OCRB Old English Text MT Onyx Palace Script MT Palatino Linotype Papyrus Parchment Perpetua Perpetua Titling MT Plantagenet Cherokee Playbill PMingLiU PMingLiU-ExtB Poor Richard Pristina Raavi Rage Italic Ravie Rockwell Rockwell Condensed Rockwell Extra Bold Rod Sakkal Majalla Script MT Bold Segoe Print Segoe Script Segoe UI Segoe UI Light Segoe UI Semibold Segoe UI Semilight Segoe UI Symbol Shonar Bangla Showcard Gothic Shruti SimHei Simplified Arabic Simplified Arabic Fixed SimSun SimSun-ExtB Snap ITC Stencil SWGamekeys MT Sylfaen Symbol Tahoma Tempus Sans ITC Tera Special Times New Roman Traditional Arabic Trebuchet MS Tunga Tw Cen MT Tw Cen MT Condensed Tw Cen MT Condensed Extra Bold Utsaah Vani Verdana Vijaya Viner Hand ITC Vivaldi Vladimir Script Vrinda Webdings Wide Latin Wingdings Wingdings 2 Wingdings 3 メイリオ MS ゴシック MS 明朝 MS Pゴシック MS P明朝 PS C:\powershell>
参照
タグ: PowerShell