Class AFPPageFonts

java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap
org.apache.fop.afp.fonts.AFPPageFonts
All Implemented Interfaces:
Serializable, Cloneable, Map

public class AFPPageFonts extends HashMap
Holds the current page fonts
See Also:
  • Constructor Details

    • AFPPageFonts

      public AFPPageFonts()
      Default constructor
    • AFPPageFonts

      public AFPPageFonts(AFPPageFonts fonts)
      Parameterized constructor
      Parameters:
      fonts - an existing set of afp page fonts
  • Method Details

    • registerFont

      public AFPFontAttributes registerFont(String fontName, AFPFont font, int fontSize)
      Registers a font on the current page and returns font attributes
      Parameters:
      fontName - the internal font name
      font - the AFPFont
      fontSize - the font point size
      Returns:
      newly registered AFPFontAttributes