How to embed custom fonts in perspective client

Refer to https://forum.inductiveautomation.com/t/embedding-custom-fronts-in-ignition-perspective/40341 for further details on how to get this working.