0

I'm using the CSS method to render fonts from fonts.com by using the font name in a CSS class like

 .myFont h3 {
   background-color: #FFFFFF;
   color: #000000;
   font-family: "ReformaGroteskW01-Mediu";
   font-size: 40px;
   font-weight: normal;
   letter-spacing: 0.04em;
   margin: 0 auto;
   padding: 0 7px;
   text-transform: uppercase;
   width: 105px;

}

And the font is linked using this link tag provided by fonts.com, this works for Firefox but not for chome and Safari, seems like the webkit browser doesn't link something here, I would as the support at fonts.com but I have found their support to be very slow in the past.

<link type="text/css" rel="stylesheet" href="http://fast.fonts.com/cssapi/11386172-45ea-43f5-93bd-d795e60c00af.css">
4

6 回答 6

7

I realize this comment comes several months after the discussion on this issue; however, I just ran into this problem myself, and was looking for a solution, and landed here. The fonts served up by font.com were resolving correctly in Firefox but not in Chrome or Safari. I ultimately solved the problem by specifying both www.domainname.com AND domainname.com in font.com's domain configuration. Turns out both Chrome and Safari are sensitive to this. (Evidently font.com's domain configuration is less flexible than typekit's, where entering *.domainname.com automatically includes domain.com and www.domainname.com.) Hope this helps someone!

于 2013-06-05T15:59:38.960 回答
2

We're sorry you're having difficulty! Looking at your Fonts.com Web Fonts project, it appears that it has been published with some changes only a few hours ago (approximately four hours prior to this response, several hours after your StackOverflow post). Currently, when loading your sample link (http://www.fabricproperty.com/) in a few browsers on some of our test machines, your project's fonts are loading and displaying correctly. I will also be following up with your Fonts.com support ticket regarding this issue.

于 2012-10-24T13:46:15.373 回答
0

Why don't you download the font you like and put it in your files? That's way better and might solve your problem too.

Besides, don't use font-family and font-size apart. Put them together in the font tag.

于 2012-10-23T16:03:15.717 回答
0

You did not describe in which sense it does not work for Chrome, but it seems that you are referring to minor rendering issues: on Chrome, the font is rendered with somewhat thicker strokes. This is something that you should discuss with the provider of the font service.

The font has been loaded and is used in Chrome, as you can see by editing the CSS code by removing font-family:"ReformaGroteskW01-Mediu". So it’s a quality of font implementation issue.

于 2012-10-23T18:51:04.867 回答
0

If you want fonts from fonts.com to work locally (no 403 errors) without needing to configure anything, you should view your site using the 'localhost' hostname which fonts.com supports by default:

http://www.fonts.com/support/faq/local-host-support

于 2013-08-28T21:46:48.793 回答
0

I noticed the webfonts only loads when I enter EdgeCast IP (68.232.35.182) in Add & Edit Domains. Perhaps fast.fonts.net is using EdgeCast CDN and the domain check gets the CDN address instead of the origin request address.

于 2016-06-02T13:45:15.777 回答