If you bought or got Adobe's Font Folio, the way it's structured is that each font is in it's own subfolder. This doesn't immediately lend itself to just navigate to the folder in Windows and highlighting all the fonts to install.
In Windows 7 you can navigate to the top level folder and put "*.otf" in the search input of Windows Explorer and it'll build a list of the font files on the file.
But for the hell of it, I wanted to try out C# with .NET to see what developing in that environment is like. It's very simple, and there are probably even quicker ways to do it (e.g. I've seen some recursive methods), so feel free to modify if you'd like.
If you want to use it, here's what you gotta do:
- Download the package
- The package contains a FlattenFolio.exe and the corresponding source.
- Copy your Font Folio software to C:\FontFolio11
- Create an empty c:\FontFolioFlattened
- Run the FlattenFolio.exe file
- All the files in the Western Fonts subfolder should now be in the FontFolioFlattened dir.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
namespace FlattenFolio
{
class Program
{
static void Main(string[] args)
{
DirectoryInfo di = new DirectoryInfo("C:/FontFolio11/Western Fonts");
DirectoryInfo[] dirs = di.GetDirectories();
foreach(DirectoryInfo subDir in dirs)
{
Console.WriteLine("Processing:" + subDir.FullName);
FileInfo[] fontFiles = subDir.GetFiles();
foreach (FileInfo aFile in fontFiles)
{
Console.WriteLine("Copying:" + aFile);
File.Copy(subDir.FullName + "/" + aFile.Name, "C:/FontFolioFlattened/" + aFile.Name,true);
}
}
}
}
}