Can MainType generate a text list of font families and styles?

Get help with MainType here. Please do not post feature requests or bug reports here.
Post Reply
Lt. Kernal
Posts: 11
Joined: Mon Feb 12, 2018 5:06 pm

Can MainType generate a text list of font families and styles?

Post by Lt. Kernal »

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!
Lt. Kernal
Posts: 11
Joined: Mon Feb 12, 2018 5:06 pm

Re: Can MainType generate a text list of font families and styles?

Post by Lt. Kernal »

Ah! I found a way to do this in Windows Powershell

Use the command line:

Code: Select all

[System.Reflection.Assembly]::LoadWithPartialName("System.Drawing")
(New-Object System.Drawing.Text.InstalledFontCollection).Families
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.
Erwin Denissen
Moderator
Moderator
Posts: 11108
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?

Post by Erwin Denissen »

No, such feature is not part of our font manager.
Erwin Denissen
High-Logic
Proven Font Technology
Bhikkhu Pesala
Top Typographer
Top Typographer
Posts: 9873
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?

Post by Bhikkhu Pesala »

As a workaround, print a compact font listing or a font listing to a PDF printer like CutePDF with the following settings.
Compact Font Listing.png
Compact Font Listing.png (8.32 KiB) Viewed 4062 times
Attachments
MainType - Font Listing.pdf
(125.04 KiB) Downloaded 294 times
MainType - Compact Font Listing.pdf
(121.79 KiB) Downloaded 291 times
My FontsReviews: MainTypeFont CreatorHelpFC15 + MT12.0 @ Win 10 64-bit build 19045.2486
Lt. Kernal
Posts: 11
Joined: Mon Feb 12, 2018 5:06 pm

Re: Can MainType generate a text list of font families and styles?

Post by Lt. Kernal »

@ Bhikkhu Pesala
That solution works quite well.
Thanks!
Post Reply