Hello,
I was looking for a way to get a textfile list of the font family and style for each font in a directory, group, or view.
Is this possible?
The list would look like this:
Arial
Arial Italic
Arial Bold
Arial Black
Calibri
Calibri Light
Calibri Light Italic
Calibri Bold
...etc....
I know that MainType can "Print" and "Export fonts as a web-collection", but was just looking for a simple, text-based list.
If it is not possible in this wonderful piece of software, does anyone know of a non-MainType way of doing this?
And no, I don't mean a list of files, like "dir \ C:\WINDOWS\Fonts >FontList.txt". A mean list with the font family name and the styles.
Thanks!
Can MainType generate a text list of font families and styles?
-
- Posts: 11
- Joined: Mon Feb 12, 2018 5:06 pm
-
- Posts: 11
- Joined: Mon Feb 12, 2018 5:06 pm
Re: Can MainType generate a text list of font families and styles?
Ah! I found a way to do this in Windows Powershell
Use the command line:
Infortunatley it only works for installed fonts.
I would still be curious if it is possible in MainType, because I would like to do it for non-installed fonts within groups, views, or folders.
Thanks again.
Use the command line:
Code: Select all
[System.Reflection.Assembly]::LoadWithPartialName("System.Drawing")
(New-Object System.Drawing.Text.InstalledFontCollection).Families
I would still be curious if it is possible in MainType, because I would like to do it for non-installed fonts within groups, views, or folders.
Thanks again.
-
- Moderator
- Posts: 11227
- Joined: Fri Oct 04, 2002 12:41 am
- Location: Bilthoven, The Netherlands
- Contact:
Re: Can MainType generate a text list of font families and styles?
No, such feature is not part of our font manager.
-
- Top Typographer
- Posts: 9890
- Joined: Tue Oct 29, 2002 5:28 am
- Location: Seven Kings, London UK
- Contact:
Re: Can MainType generate a text list of font families and styles?
As a workaround, print a compact font listing or a font listing to a PDF printer like CutePDF with the following settings.
- Attachments
-
- MainType - Font Listing.pdf
- (125.04 KiB) Downloaded 319 times
-
- MainType - Compact Font Listing.pdf
- (121.79 KiB) Downloaded 313 times
-
- Posts: 11
- Joined: Mon Feb 12, 2018 5:06 pm
Re: Can MainType generate a text list of font families and styles?
@ Bhikkhu Pesala
That solution works quite well.
Thanks!
That solution works quite well.
Thanks!