How would one go about changing the font of a text object via the python api? I’ve searched the web far and wide and can’t seem to find any solution to this problem.
I found a thread on ba from 2011, but unsurprisingly, the solution no longer seems to work.
I load in the font using bpy.ops.font.open(filepath="path-to-font")
this works, but thereafter, I have no idea how to assign that font to a text object.