News...

Feb 17, 2010 - Adobe Font Folio 11 Flattener script
Posted by Tariq Ahmed on 02/17/10 11:03AM for Technology & Business | 1047 Views

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:

  1. Download the package
  2. The package contains a FlattenFolio.exe and the corresponding source.
  3. Copy your Font Folio software to C:\FontFolio11
  4. Create an empty c:\FontFolioFlattened
  5. Run the FlattenFolio.exe file
  6. 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);
        }
      }
    }
  }
}

Comments (3)
May 14, 2010 11:20PM - huo uk
Come and get you love jewelry in Linksoflondonstore. links of london If you want to buy gift for your family or for your friend, links of london saleLinksoflondonstore jewelry is your best choice.

July 22, 2010 10:28PM - Rappelz Rupees
Rappelz offers 3D graphics and game play similar to the big boys of retail-bought MMOs like Lineage 2, Final Fantasy XI, and Guild Wars and you need buy Rappelz gold. The game also boasts a fairly extensive pet system that offers many features including a unique summoning class devoted to pets, pets that can be captured and bought in stores, and various pet abilities that can aid you in different situations in the help of Buy Rappelz Rupees. Simply put, Rappelz can offer a great free MMO experience with Cheap Rappelz Rupees. The pet has died the line, moreover it uses 40% to Rappelz gold indeed finally. And you does not need to seek for a brand-new item to return primitively its + 1 in the help of rappelz rupees.

July 23, 2010 10:18PM - kal gold
The player is given a choice of four professions including a Knight, a Mage, an Archer and a Thief. Many players need to Buy KAL Goldwhen they play the game. The player can also choose between a list of ten faces and styles of hair for each class. The knight characters are male, with the focus on strength and health. Their weapon style is the sword. The Mages are female; Kal Geons is very useful in the game. There are 5 guild classes: Leader, Co-Leader, Warchief, Member, Temporary member. kal gold can make you level up. sword. The Mages are female; Kal Online Geons is very useful in the game. There are 5 guild classes: Leader, Co-Leader, Warchief, Member, Temporary member. KAL Online Gold can make you level up. you level up.

Add Comment

Identify yourself: (Required)
Mail: (Won't be displayed)
Link/URL:
Type in these characters: QYE (Required)
What's your beef:

Tariq Ahmed
Postings by Category
Adobe Flex (78)
C# (1)
ColdFusion (53)
Companies (2)
Database (2)
General (5)
Learning Agile (3)
Management & Business (4)
Products (6)
Usability/User Experience (3)

Flex 3 In Action - Become Effective Fast
Flex 3 In Action Using your existing Web Development skills FiA ramps up your knowledge of Flex quickly and easily by giving you a foundation of understanding and the skills needed to become productive in a short timeframe. Various ways of doing the same thing are explained in depth so that you understand your options… and most importantly, FiA makes learning Flex fun!
PROMOTION: Each purchase includes the book, plus the PDF eBook, and the Flex 4 In Action eBook

$31.49 on Amazon
Flex In Action Blog
Free: Flex Layout and Navigation
Free: Testing and Debugging Flex Apps

    Copyright 2010 Tariq Ahmed. All rights reserved.