The following code demonstrates how to add more font paths to the FontManager's internal list of paths: String[] extraFontPaths = new String[] {"f:\\windows\\fonts\\", "f:\\winnt\\fonts\\"}; FontManager fontManager = FontManager.getInstance(); fontManager.readSystemFonts(extraFontPaths);
|
Adding Font Paths to the FontManager
© Copyright 2017 ICEsoft Technologies Canada Corp.