Package com.scroogexhtml.fonts
Interface FontReplacing
-
- All Known Implementing Classes:
DefaultFontReplacer
public interface FontReplacing
An interface for substitution of fonts contained in the RTF font table.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.
-
-
-
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 instancertfFontName
- the RTF font namertfFontFamily
- the RTF font family- Returns:
- the substitution font name TODO(mj) move to ConversionConfiguration
-
-