My web server code will download css files. With only a small modification it should also download ttf files ok. However, it only works with 8.3 file names, and abugslife is 9 characters. Shorten the file name to bugslife.ttl and it should work. http://playground.arduino.cc/Code/WebServerST
Some references say it is "application/octet-stream", but others say "application/x-font-ttf". I would try the x-font-ttf first. If it doesn't work, try the octet-stream. Add the line below to my server code and put the bugslife.ttf file on the SD card.
I've been trying for i while but i'm a bit lost. I really don't know where i have to put your code. I must copy all into my program? Do i have to download ethernet2 library? Could you make me and example on the code i have?
Do you understand how web servers and clients work?
The web client will request a page from the server. That page will have other files listed in it that it requires to display the page, like image, javascript and css files. The web client will request those pages after it finishes downloading the requested page from the server.
Your server must determine which files the client is requesting and return the correct file. Does your sketch do that?