Loadong font
-
Hello.
I’m trying to load a custom font for my pdf but all I have tried has not worked, the only thing that has worked is using a local font, but if I uninstall it from my PC it does not work anymore, this means it is not loading the font.
Below is the code I’m using following the directions from the developer site.
It is a localhost install, I have put the full URL to avoid any addressing problem, I have tested the URL and it offers the file as download, so the URL is ok.
What I’m doing wrong?
Any help is appreciated.
Thank you.@font-face {
font-family: ‘CDB’;
font-style: normal;
font-weight: normal;
src: local(‘CDB’), url(https://127.0.0.1/fonts/cdb.ttf) format(‘truetype’);
}td.postcode {
font-family: “CDB”;
font-size: 25pt;
}
- The topic ‘Loadong font’ is closed to new replies.