If I have more TTF font files into the "fonts" directory, is there a way to automatically add them into the section? I suppose a PHP file to read dir and generate the list can be done - yes?
like this (i include this style, but i want add this like, automatically if the folder have more fonts):
<style type="text/css">
@font-face
{
font-family: Baksoda;
src: url('fonts/Baksoda.ttf');
}
@font-face
{
font-family: CherrySwash-Regular;
src: url('fonts/CherrySwash-Regular.ttf');
}
@font-face
{
font-family: Riya-Black;
src: url('fonts/Riya-Black.ttf');
}
</style>