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
Modifier and TypeMethodDescriptionreplace
(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 Details
-
replace
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:
rtfFontName
- the RTF font namertfFontFamily
- the RTF font family- Returns:
- the substitution font name
-