When the font manager's readSystemFonts() method is called, it tries to read all fonts on the host operating system and stores the name, family and path information of the readable font. The reading of all font programs can be time consuming and in most usage scenarios needs only to be done once as operating system fonts do not change regularly. As a result, the manager can import and export the collected font information using the getFontProperties() and setFontProperties() methods respectively.
A basic FontPropertiesManager class is available in the package org.icepdf.core.ri.util.
© Copyright 2017 ICEsoft Technologies Canada Corp.