Hi,
I'm working on a web site whose owner wants an unusual font : papyrus
I have the papyrus.ttf file in the root directory of this site, both locally and on the … (читать ещё)
Hi,
I'm working on a web site whose owner wants an unusual font : papyrus
I have the papyrus.ttf file in the root directory of this site, both locally and on the server.
In <style>, I have :
@font-face {
font-family: papyrus;
src: url(papyrus.ttf);
}
And I add :
font-family:papyrus;
among the <style> settings for requested parts of the page
This functions fine on the server, but not locally. So to view the pages I have to upload them after every modification, and this is a bit tedious.
Is there a way to make it function locally, please? Either by adding some more code to the pages or by changing firefox settings?
Firefox can open image files locally, <a href> functions both locally and externally, so why wouldn't font files also function locally?
A workaround could be to make Firefox display all web pages in papyrus, but this would be a last resort...