Where to see font files loaded by chrome in the inspector?

What tab in chrome inspector shows the font files you’re loading via font-face? I can’t find it under resources. I’m having an issue where one group of font-family files are loading, but another font-family is not. I have checked everything from going directly to the URL and seeing they are indeed present, but I would … Read more

IE8 CSS @font-face fonts only working for :before content on over and sometimes on refresh/hard refresh

UPDATE: I’ve written a blog post about what I’ve learned about this issue. I still don’t fully understand it, but hopefully someone will read this and shed some light on my issue: http://andymcfee.com/2012/04/04/icon-fonts-pseudo-elements-and-ie8 I have a page where I’m using @font-face to import a custom font for icons. The icons are created with a class: … Read more

Google warning: Resource interpreted as Font but transferred with MIME type application/octet-stream

I have a warning in Google for my font-face: Resource interpreted as Font but transferred with MIME type application/octet-stream: “…/Content/Fonts/iconFont.ttf”. It works even if I have this warning but I prefer avoid this warning. Here is my declaration: @font-face { font-family: ‘iconFont’; src: url(‘../Fonts/iconFont.eot?#iefix’) format(’embedded-opentype’), url(‘../Fonts/iconFont.svg#iconFont’) format(‘image/svg+xml’), url(‘../Fonts/iconFont.woff’) format(‘font/x-woff’), url(‘../Fonts/iconFont.ttf’) format(‘truetype’); font-weight: normal; font-style: normal; … Read more

How to know if a font (@font-face) has already been loaded?

I’m using Font-Awesome, but while the font files are not loaded, the icons appear with . So, I want these icons to have display:none while files are not loaded. @font-face { font-family: “FontAwesome”; src: url(‘../font/fontawesome-webfont.eot’); src: url(‘../font/fontawesome-webfont.eot?#iefix’) format(‘eot’), url(‘../font/fontawesome-webfont.woff’) format(‘woff’), url(‘../font/fontawesome-webfont.ttf’) format(‘truetype’), url(‘../font/fontawesome-webfont.svg#FontAwesome’) format(‘svg’); font-weight: normal; font-style: normal; } How do I know that these … Read more

Use multiple @font-face rules in CSS

How can I use more than @font-face rule in my CSS? I’ve inserted this into my stylesheet: body { background: #fff url(../images/body-bg-corporate.gif) repeat-x; padding-bottom: 10px; font-family: ‘GestaRegular’, Arial, Helvetica, sans-serif; } @font-face { font-family: ‘GestaReFogular’; src: url(‘gestareg-webfont.eot’); src: local(‘☺’), url(‘gestareg-webfont.woff’) format(‘woff’), url(‘gestareg-webfont.ttf’) format(‘truetype’), url(‘gestareg-webfont.svg#webfontg8dbVmxj’) format(‘svg’); } This currently only applies for the whole body of … Read more