What are the necessary steps that needs to be followed to change the font of Pdf?
I had already run the following command-
sudo apt-get install ttf-mscorefonts-installer
But still the issue remains unsolved.
1 Like
You can download a font as woff to your public folder and then use a CSS snippet like this in your print format:
@font-face {
font-family: myTimes;
src: url('/files/times.woff');
}
.print-format {
font-family: myTimes;
}
Hope this helps
2 Likes
Goto /usr/local/share/fonts
Paste .ttf file
Then run following command:
sudo chown root CenturyGothic.ttf
fc-cache
2 Likes
Font change is reflecting everywhere including the print preview but not in the Pdf.
Any solution to this issue?
1 Like
did you find solution?