Interface FontReplacing

  • All Known Implementing Classes:
    DefaultFontReplacer

    public interface FontReplacing
    An interface for substitution of fonts contained in the RTF font table.
    • Method Detail

      • replace

        String replace​(ScroogeXHTMLBase converter,
                       String rtfFontName,
                       FontFamily rtfFontFamily)
        The converter calls this method for each font name in the RTF font table, passing in the RTF font name and the font type.
        Parameters:
        converter - the converter instance
        rtfFontName - the RTF font name
        rtfFontFamily - the RTF font family
        Returns:
        the substitution font name TODO(mj) move to ConversionConfiguration