Most photo editing/graphic design software already do that. Gimp, Photoshop (some versions I guess). Then there are programs designed for only that purpose i.e. Fontview.
If you're looking for new fonts
www.dafont.com has an option where you can input text and see the preview in all fonts and download the ones you want. Pretty nifty.