How to use a custom font in Print Format

I want to upload a custom font to use it in a custom Print Format. I have followed the steps describe here https://github.com/frappe/fonts to upload my custom font, but I do not know how to use it in a custom print format.

How I point to custom font in HTML file?

Just a guess possibly this might help Font change for print format in pdf

1 Like

Thank you for your answers @clarkej @raghu9.
I have been looking at the two links in depth, but I have not been able to solve the problem I have.
When I load the custom Print Format, this type of errors related to the font can be seen in the console:

Slow network is detected. See https://www.chromestatus.com/feature/5636954674692096 for more details. Fallback font will be used while loading: http://192.168.1.xx:8080/home/frappe/frappe-bench/sites/assets/frappe/css/xxiineuenorm-cndblack.ttf
Failed to load resource: the server responded with a status of 404 (NOT FOUND) home/frappe/frappe-bench/sites/assets/frappe/css/xxiineuenorm-cndblack.css:1
Failed to load resource: the server responded with a status of 404 (NOT FOUND) xxiineuenorm-cndblack.ttf:1