font-previewIf you’re like me and have a huge stack of TrueType fonts just lying around and don’t want to have to preview them individually by double clicking on them, you might find this handy to throw into a batch file:

for %%a in (*.ttf) do c:\imagemagick\convert.exe -antialias -pointsize 80 -font %%a -draw "text 20,120 'A quick brown fox lazy jumps over dog'" blank.jpg output\%%a.jpg

It requires having ImageMagick installed (I've installed it into c:\imagemagick in this example, but you can put it anywhere, obviously). This is a Windows example but should work fine on Linux as well (if you change the path to the ImageMagick binary).

Basically it will write out to the "output" directory a bunch of images rendering the text in that font, allowing you to quickly browse through (or throw into a web page like this to scroll down and compare).

--

Leave a comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <blockquote cite=""> <code> <em> <strong>