Create a matrix of the given string and font

bdf_create_mat(bdf, text, line_height = NULL)

Arguments

bdf

bdf font object as returned by read_bdf()

text

string

line_height

This value is used for vertical spacing between lines of text when the text is wrapped. If line_height is NULL, then use the pixel size speficied in the font. You may wish to set a value here if you to ensure ascenders/descenders do not overlap on subsequent lines, or just to space out the text a bit more.

Value

matrix