You can use CSS 3 to use your own fonts in an HTML / PHP page. For this you need to do something like this:
@font-face {
font-family: WendyMedium;
src: url(‘path/to/your/font/file.ttf’);
}
You can use this font then with the following line of code:
p { font-family: WendyMedium, Arial, sans-serif; }
Please note that this is only supported by real web browsers (Chrome, Safari, Firefox, etc.). You also need a license to use this font on your website.
source
share