TextProperty.set_font_file# TextProperty.set_font_file(font_file: str | Path) → None[source]# Set the font file. Parameters: font_filestr | PathFont file path.