set_line_numbers_font_name


Description:

[ Version ( since = "2.2" ) ]
public void set_line_numbers_font_name (string? font_name)

Sets the font for printing line numbers on the left margin.

If null is supplied, the default font (i.e. the one being used for the text) will be used instead.

font_name should be a string representation of a font description Pango can understand. (e.g. "Monospace 10"). See 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 paginate function.

Parameters:

this

a SourcePrintCompositor.

font_name

the name of the font for line numbers, or null.