css - Font not being recognized in web app -
i have created website based on grails web framework uses groovy. reason i'm not able fonts load properly.
i'm using: font-family: "avenir next ultra light","avenir next";
on mac, font loads using safari , chrome not on firefox. on other systems i've noticed font doesn't load @ all.
i understand it's paid font not sure font incorporated site properly.
any advice appreciated!
store font file somewhere on server.
@font-face { font-family: name; src: url('/filepath/filename.ttf'); } p { font-family: name; }
browser support: http://www.w3schools.com/cssref/css3_pr_font-face_rule.asp
edit: and, alex k. said, make sure have license if it's commercial font.
Comments
Post a Comment