Adding custom font JFreeChart
问题 I am trying to add the following Font to my JFreeChart title: http://www.urbanfonts.com/fonts/Back_to_Bay_6.htm Trying to achieve this with the code: InputStream is = new FileInputStream("backtobay.ttf"); java.awt.Font customFont = java.awt.Font.createFont(java.awt.Font.TRUETYPE_FONT, is); customFont = customFont.deriveFont(24f); chart.getTitle().setFont(customFont); Ends up with a normal font: Any ideas why? Is it possible it has something to do that I am running Mac? public class