add font from a folder using css code example
Example: using custom fonts in php
@font-face {font-family: "My Custom Font"; src: url('../fonts/gurbaniwebthick.ttf') ;}
@font-face {font-family: "My Custom Font"; src: url('../fonts/gurbaniwebthick.ttf') ;}