custom fonts stopped working

ashishpandeyashishpandey Registered Users Posts: 100 Big grins
edited August 29, 2016 in Bug Reporting
I have been using fontawesome via css @font-face or quite some time on my smugmug page to render a nice menu. This is the same as described here. However, i recently noticed it had stopped working. The reason seems like smugmug is stripping off the src tags from the @font-face CSS block

My site is here: http://photography.ashishpandey.com/

the CSS block I am adding looks like this:
@font-face {
  font-family: 'FontAwesomeCdn';
  src: url('https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/fonts/fontawesome-webfont.eot?v=4.6.3');
  src: url('https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/fonts/fontawesome-webfont.eot?#iefix&v=4.6.3') format('embedded-opentype'),
   url('https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/fonts/fontawesome-webfont.woff2?v=4.6.3') format('woff2'), 
   url('https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/fonts/fontawesome-webfont.woff?v=4.6.3') format('woff'), 
   url('https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/fonts/fontawesome-webfont.ttf?v=4.6.3') format('truetype'), 
   url('https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/fonts/fontawesome-webfont.svg?v=4.6.3#fontawesomeregular') format('svg');
  font-weight: 400;
  font-style: normal;
}

What I get after publishing the site is this:
@font-face{font-family:'FontAwesomeCdn';font-weight:400;font-style:normal}

clearly, the src attribute is missing and hence the font doesn't work
This worked fine until very recently, so no idea what is wrong now. Can someone please help?
Ashish
http://photography.ashishpandey.com
smugmug ID: ashishpandey (but I prefer my domain URL above :D)

Comments

Sign In or Register to comment.