I coding a such as below.
import bpy
print(bpy.data.fonts.keys()) # return : [‘ArialMT’, ‘ArialMT’, ‘ArialMT’, ‘Bfont’, ‘David’, ‘FranklinGothic-Medium’, ‘PalatinoLinotype-Roman’]
bpy.data.fonts.remove(‘David’)
But appear a error message such as below.
TypeError: BlendDataFonts.remove(): error with keyword argu
Error: Python script fail, look in the console for now…
How to using function of bpy.data.fonts.remove().
Please answer to me.
Thank you.