Class FontAdder

java.lang.Object
org.docx4j.fonts.fop.fonts.FontAdder

public class FontAdder
extends java.lang.Object
Adds a list of fonts to a given font info list
  • Field Summary

    Fields
    Modifier and Type Field Description
    protected static org.slf4j.Logger log  
  • Constructor Summary

    Constructors
    Constructor Description
    FontAdder​(FontManager manager, InternalResourceResolver resourceResolver, FontEventListener listener)
    Main constructor
  • Method Summary

    Modifier and Type Method 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
  • Field Details

    • log

      protected static org.slf4j.Logger log
  • Constructor Details

  • Method Details

    • 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