-1

I use font-face and web font on my own website:

@font-face {
  font-family: 'example';
  src: url('example.eot') format('eot'),  
       url('example.woff') format('woff'),  
       url('example.ttf') format('truetype'); 
}

If client has the font installed with the same name, client font is loaded instead of web font. Is there any solution to load the web font instead of the local font?

Ali Seyfollahi
  • 2,662
  • 2
  • 21
  • 29

1 Answers1

0

Check if your font is in same lacation as the page, cause if its not on the same location you should use src: url('../example.ttf'); You should src only for TIF, not multiple, I don't know if its corect. TIF is suported by all browsers.

Josh Crozier
  • 233,099
  • 56
  • 391
  • 304
Vlad Isoc
  • 2,181
  • 1
  • 15
  • 15