I'm trying to use a custom font but cannot get it to work.
I am assuming it is loading the file since there is no exception raised. However, the JOptionPane just displays a short horizontal line (see attached). I don't know much about ttf files but I have verified it is correct with MS
Word. I thus has to assume there is some error occurring when registering it but no exceptions are raised. Can someone see what I am doing wrong? TIA.
If you want the ttf file is can be download
here.