FontClustr builds hierarchical clusters of fonts based on their appearance — an alternative to alphabetical sorting. To get an idea of what this looks like, check out some examples of font clusters. For software folks, I’ve written an explanation of the algorithm.

FontClustr code (developed in Ubuntu 10.10) is now available on github:

Run it by making executable and executing it, or running this from your command line: python

This will generate an output file called tree_text.html, which you can load in your favorite web browser to view the clusters. The vertical lines on the left hand side of the page indicate the nesting of the clusters.

If you use FontClustr to improve font selection in your own program, I would appreciate some credit. However, I’m even more interested in working with you directly to completely eradicate alphabetical font selection dialogs. Contact me via email or via github if you would like to team up.

FontClustr received honorable mention in the 2011 TypeCon Catalyst Awards.