I need to provide the fonts path in the config file which i dont see any options for that.
Please provide me the support for the above query.
Please elaborate more....
What config file do you mean? Why do you need to put a font path to the config file?
I am using an html which has nunito fonts which is not reflected after generating as pdf in docker usind nodejs client.
So i placed the fonts file in code and imported them. But docker path of the fonts should be set somewhere in the request like entensions.
I think this helps to solve the problem.
Did you try using webfonts?
i think you are mentioning assets right?
and i am using nodejs-client module. Is there any way to import the fonts path to render.
please provide the exact solution
I mean you can link the fonts from a web URL like in the example
<html> <head> <link rel="preconnect" href="https://fonts.googleapis.com"> <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> <link href="https://fonts.googleapis.com/css2?family=Nunito:wght@200;900;1000&display=swap" rel="stylesheet"> </head> <body> <h1 style='font-family:Nunito'> Hello world </h1> </body> </html>
We tried that too. But we get 403 in that font urls.
Could you please suggest me any other alternatives