1 2 3 | [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 の場合
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 | 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