Hi,
Does anyone have experience with getting self-hosted, embedded fonts to work when using style linking AND in all browsers???
We’ve mostly used hosted font serving, with FontsLive.com and TypeKit. Both have worked wonderfully, allowing for style linking internally so that all we have to do is add the new web font name to our main ‘font-family’ list (including fallback fonts) and the proper face is picked up automatically whenever something is styled as bold, italic or bold-italic. It’s always worked perfectly in all browsers INCLUDING the notorious IE 7-8!!
UNFORTUNATELY, FontsLive.com was bought out by Fonts.com (Monotype) and we are now forced to use them for the fonts a couple of our clients use on their sites. And Fonts.com DOES NOT allow style linking for their hosted solutions, which would completely mess up how we’ve done our styles (not to mention, defeating proper fallback font functionality). So we are trying to use their ‘Self-Hosted’ option so we can do this ourselves.
When modifying their @font-face rules, or using a couple of the common ‘standards’ (bulletproof, ‘Mo bulletproof, Fontspring, etc.), everything works great in all browsers EXCEPT my favorites - IE7-8 (haven’t tested IE9 yet)! In IE7-8, it appears that the normal font loads OK, then any italic, bold-italic and possibly even bold is applied using the browsers’ ‘faux’ styles. It ‘appears’ that it is making the proper italic font extra-italic, or the bold ‘extra-bold’. I can’t tell if it’s applying the faux bold/italic to the standard face or to the proper italic & bold faces.
Below is one of the code samples I’ve tried.
- Anyone get this to work in IE??? CAN it work??
I see conflicting reports on whether IE can work with style linking or not. Some things I’ve read says it just doesn’t allow for more than 4 weights/styles. But the biggest thing is that FontsLive.com and Typekit SOMEHOW HAVE IT WORKING!!
Thanks for any help!
SAMPLE FONT LOADING:
@import url("http://fast.fonts.com/t/1.css?apiType=css&projectid=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx");
@font-face{
font-family:"AvantGardeWeb";
src:url("/Fonts/2a334c60-3e0d-4f43-b0e9-5284ea33961a.eot"); /* IE9 Compat Modes */
src:url("/Fonts/2a334c60-3e0d-4f43-b0e9-5284ea33961a.eot?iefix") format("embedded-opentype"); /* IE 6-8 */
src:url("/Fonts/c68f0543-0caf-4988-b234-355520476b8c.woff") format("woff"),url("/Fonts/2d4f1d98-ddb3-4acc-ae78-c8b1863f780e.ttf") format("truetype"),url("/Fonts/80f98a03-905d-49e6-8614-cec7c32ca4f2.svg#80f98a03-905d-49e6-8614-cec7c32ca4f2") format("svg");
font-style: normal;
font-weight: normal;
}
@font-face{
font-family:"AvantGardeWeb";
src:url("/Fonts/d6c308a1-6908-40bc-b732-0fec02d083ac.eot"); /* IE9 Compat Modes */
src:url("/Fonts/d6c308a1-6908-40bc-b732-0fec02d083ac.eot?iefix") format("embedded-opentype"); /* IE 6-8 */
src:url("/Fonts/7571e8e6-97a2-48aa-97c1-b8aeeefc5409.woff") format("woff"),url("/Fonts/8f1e17ad-3b38-4d51-83f5-4e5469174a77.ttf") format("truetype"),url("/Fonts/1ee7d1fd-0f7c-4d70-b970-f4dc602eab62.svg#1ee7d1fd-0f7c-4d70-b970-f4dc602eab62") format("svg");
font-style: italic;
font-weight: normal;
}
@font-face{
font-family:"AvantGardeWeb";
src:url("/Fonts/5daf8f81-4f5b-4b44-8fd3-91c56d20e799.eot"); /* IE9 Compat Modes */
src:url("/Fonts/5daf8f81-4f5b-4b44-8fd3-91c56d20e799.eot?iefix") format("embedded-opentype"); /* IE 6-8 */
src:url("/Fonts/43b723ac-a6f2-4d5d-9d72-c50aea85ecee.woff") format("woff"),url("/Fonts/9093e944-c2da-4954-953f-ca2eb3a227dd.ttf") format("truetype"),url("/Fonts/e3929a31-b148-4180-91be-4b490bdac87d.svg#e3929a31-b148-4180-91be-4b490bdac87d") format("svg");
font-style: normal;
font-weight: bold;
}
@font-face{
font-family:"AvantGardeWeb";
src:url("/Fonts/e77dac3e-51a1-44bd-8a8c-042137ec2a31.eot"); /* IE9 Compat Modes */
src:url("/Fonts/e77dac3e-51a1-44bd-8a8c-042137ec2a31.eot?iefix") format("embedded-opentype"); /* IE 6-8 */
src:url("/Fonts/8513e971-f071-42cc-9f20-914ffc672da4.woff") format("woff"),url("/Fonts/9cea694b-1cf4-4bed-91e2-34b5e3f3bbfe.ttf") format("truetype"),url("/Fonts/14ef78e2-840f-42a0-ade1-5c2aa453ac56.svg#14ef78e2-840f-42a0-ade1-5c2aa453ac56") format("svg");
font-style: italic;
font-weight: bold;
}