check_font: Checks font is installed in the system

Description Usage Arguments Functions Examples

Description

Checks if a given font is installed in the system.

Usage

1
2
3
check_font(font_name)

replace_font(font_name, default_font = "sans")

Arguments

font_name

string containing the font name

default_font

string containg a font to use as a substituted if not found

Functions

Examples

1
2
3
check_font('Arial')
check_font('ARIAL')
replace_font('ARIAL') # Returns 'sans'

flaneuse/llamar documentation built on May 16, 2019, 1:18 p.m.