RtfFont
data class RtfFont(val name: String, val family: RtfFontFamily = RtfFontFamily.Nil, val charset: Int = 0)(source)
A font usable by RtfDocument. Fonts are referenced by value from an RtfSpanStyle; the writer collects every referenced font (plus the document default) into the \fonttbl and assigns the \fN indices, so callers never juggle indices themselves.
Parameters
name
the font face name as it appears in the font table (e.g. Georgia).
family
the RTF family class; readers fall back to it when the named face is unavailable.
charset
the \fcharsetN value; 0 is the default ANSI charset.