Filter single quotes from the filenames as this will interfere with font-family parsing. Fixed bug: InputStream opened by URL.openConnection() wasn't closed which leads to "too many open files" when you have lots of fonts on Java 1.4.