Class DefaultFontReplacer

    • Constructor Detail

      • DefaultFontReplacer

        public DefaultFontReplacer()
    • Method Detail

      • replace

        public String replace​(ScroogeXHTMLBase converter,
                              String fontName,
                              FontFamily fontFamily)
        Description copied from interface: FontReplacing
        The converter calls this method for each font name in the RTF font table, passing in the RTF font name and the font type.
        Specified by:
        replace in interface FontReplacing
        Parameters:
        converter - the converter instance
        fontName - the RTF font name
        fontFamily - the RTF font family
        Returns:
        the substitution font name TODO(mj) move to ConversionConfiguration