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:

mysite.com/myapp/public/fonts/myfont.ttf
mysite.com/myapp/fonts/myfont.ttf

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

Thanks!

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

mysite.com/assets/myapp/fonts/myfont.ttf