streams passed to Font.createFont() should be closed unless they are ByteArrayInputStream. (Sadly, fixing this does not fix the problem mentioned in the linked SO issue).
streams passed to Font.createFont() should be closed unless they are ByteArrayInputStream. (Sadly, fixing this does not fix the problem mentioned in the linked SO issue).