SourcePrintCompositor.setBodyFontName

Sets the default font for the printed text.

font_name should be a string representation of a font description Pango can understand. (e.g. "Monospace 10"). See pango_font_description_from_string() for a description of the format of the string representation.

This function cannot be called anymore after the first call to the Source.printCompositorPaginate function.

class SourcePrintCompositor
void
setBodyFontName
(
string fontName
)

Parameters

fontName string

the name of the default font for the body text.

Meta