Importing a dynamic font at runtime

So I have a bitmap font image and XML which was exported from Shoebox, how can i use these PNG and XML files to create a Text Mesh Pro font in runtime, or is there any other way i can import a custom font at runtime resulting in a Text Mesh Pro font which can be used in the scene.