The misc package.
This package contains miscellaneous classes, modules and functions.
See also expyriment.misc.extras for more misc.
Helper function to compare input_code with a standard codes.
Returns a boolean and operates by default bitwise.
Parameters : | input_code : int
standard_codes : int or list
bitwise_comparison : bool, optional
|
---|
Find an installed font given a font name.
This will try to match a font installed on the system that is similar to the given font name.
Parameters : | font : str
|
---|---|
Returns : | font : str
|
List all fonts installed on the system.
Returns a dictionary where the key is the font name and the value is the absolute path to the font file.