How to convert .ttf file to playcanvas font json by script?

I have a batch of .ttf files and want to convert them to playcanvas json format by script. I have found msdfgen and msdf-bmfont-xml can produce similar format with playcanvas. But there still problems that their results lack some fields existed in playcanvas (scale, range, bounds). Anyone knows the meaning of these three fields? Or, is there already a script to do this?

Is there anyone can help?