I have an error message "Don't know what to do with" when I try "fop fonts.fo fonts.pdf".
FOP has problems to parse the command line options. Is there something after "Don't know what to do with"? If not, you probably have quoted spaces in your command line. Try again "fop fonts.fo fonts.pdf", without the double quotes.