Adding Font Paths to the FontManager

Table of Contents


If you want to specify additional font paths to be ready by the FontManager class, it is possible, using the readSystemFonts() method.

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);



Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.

© Copyright 2017 ICEsoft Technologies Canada Corp.