How can I install a font on the server?
The information in this post is accurate as of the published date . Please make sure to check any linked documentation within the post for changes/updates.
Hello!
I need to install a font in the server to use with wkhtmltopdf library. I can’t use the font without install because in this case wkhtmltopdf library create the pdf with the text rendered like a shape. Not like text. I need to install the font in the system.
I am trying to mount a folder in fonts directory (/usr/share/fonts/truetype/) and copy the font file but It doesn’t work.
I don’t know how I can to do it.
Thanks for your help
-
Hi @pablo-blanco
did you to try install it using apt-get during the build hook?hooks: build: | apt-get install fonts-liberation
0 -
Thank you for your message. I try it and the console says:
apt-get: not found
Do you know what is the problem?
0 -
Hi @flovntp
I can’t use apt-get. Console show me an error. Do you know how I can do it? Thanks.
0
Please sign in to leave a comment.
Comments
3 comments