org.apache.fop.fonts

## Class FontAdder

- java.lang.Object
- - org.apache.fop.fonts.FontAdder

-     public class FontAdder
      extends java.lang.Object

  Adds a list of fonts to a given font info list

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `FontAdder(FontManager manager, InternalResourceResolver resourceResolver, FontEventListener listener)` Main constructor

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `add(java.util.List<java.net.URL> fontURLList, java.util.List<EmbedFontInfo> fontInfoList)` Iterates over font url list adding to font info list

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### FontAdder

          public FontAdder(FontManager manager,
                           InternalResourceResolver resourceResolver,
                           FontEventListener listener)

      Main constructor
      Parameters:
        `manager` - a font manager
        `resourceResolver` - a font resolver
        `listener` - a font event handler

  - ### Method Detail

    - #### add

          public void add(java.util.List<java.net.URL> fontURLList,
                          java.util.List<EmbedFontInfo> fontInfoList)
                   throws java.net.URISyntaxException

      Iterates over font url list adding to font info list
      Parameters:
        `fontURLList` - font file list
        `fontInfoList` - a configured font info list
      Throws:
        `java.net.URISyntaxException` - if a URI syntax error is found

Copyright 1999-2021 The Apache Software Foundation. All Rights Reserved.