How to add fonts to a custom app?

I’ve got a custom app running with several modifications of the layouts and print format and custom fonts. Everything is working fine so far.

Right now the fonts are located at the public folder of my site. I want to move them to the public/fonts folder of my app but I can’t seem to find the way of referencing them from the print format.

I’ve tried:

Neither alternative is working. Does anyone has a clue here?


Ok… after writing this I’ve solved it. The way to reference the files is by this address: