Package com.orsonpdf

Interface FontMapper

  • All Known Implementing Classes:
    DefaultFontMapper

    public interface FontMapper
    Maps an AWT font to a PDF built-in font.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String mapToBaseFont​(java.awt.Font f)
      Returns the name of the PDF built-in font that should be used in place of the specified AWT/Java2D font.
    • Method Detail

      • mapToBaseFont

        java.lang.String mapToBaseFont​(java.awt.Font f)
        Returns the name of the PDF built-in font that should be used in place of the specified AWT/Java2D font.
        Parameters:
        f - the font.
        Returns:
        The name of the built-in PDF font.