I'm looking for including fonts from CSS files in Symfony. The issue is the browser fails to load these fonts.
@font-face {
font-family: 'Corbert'; /*a name to be used later*/
src: url('fonts/Corbert-Regular.otf') format('opentype'),
url('fonts/Corbert-Regular.woff') format('woff'),
url('fonts/Corbert-Regular.ttf') format('truetype');
}
My path structure is
...
+-src/
| +-MyCompany/
| +-MyBundle/
| +-Resources/
| +-public/
| +-css/
| +-fonts/
My path linking the CSS files is
path linking CSS http://img11.hostingpics.net/pics/602795Capture.png
fonts http://img11.hostingpics.net/pics/302550Capture.png
What am i doing wrong ?