carboneio / carbone

Fast and simple report generator, from JSON to pdf, xslx, docx, odt...
https://carbone.io
Other
1.3k stars 190 forks source link

Use custom font in pdf #164

Open Tyflomate opened 2 years ago

Tyflomate commented 2 years ago

Hello,

I've tried using the font Gagalin in my pdfs so I installed it on my carbone server but it wont be used in my generated pdf. I've put the font file in /usr/share/fonts/ and installed it with fc-cache -fv and I can see it with fc-list | grep 'Gagalin' so i don't know what else to do. The carbone server is on cloud 66, I have rebuilt it after installing the font.

Hope you can help me out, Thank you !