public class FontListGenerator extends Object
| Constructor and Description |
|---|
FontListGenerator() |
| Modifier and Type | Method and Description |
|---|---|
SortedMap |
listFonts(FopFactory fopFactory,
String mime,
FontEventListener listener)
List all fonts configured for a particular output format (identified by MIME type).
|
public SortedMap listFonts(FopFactory fopFactory, String mime, FontEventListener listener) throws FOPException
SortedMap<String/font-family, List<FontSpec>>fopFactory - the FOP factory (already configured)mime - the MIME type identified the selected output formatlistener - a font event listener to catch any font-related errors while listing fontsFOPException - if an error occurs setting up the fontsCopyright © 2023 Apache Software Foundation. All rights reserved.