jdk7: sun.font.fontManager replacement/how to get filename information from fontname
Using Oracle(Sun) JDK6 and trying to move to Oracle JDK7 I am using sun.awt.GraphicsEnvironment to find all system fonts in order to use them to change pdf font used in my pdf file. Here is the exact code I am using: GraphicsEnvironment gEnv = GraphicsEnvironment.getLocalGraphicsEnvironment(); // get all system fonts final Font[] fonts = gEnv.getAllFonts(); After that I will need to get the exact font file path on the system, so I use: FontManager.getFontPath(true) + "/" + FontManager.getFileNameForFontName(font_name); The problem now is that sun.font.FontManager is no longer a class and has